ERROR: Unable to find method...
Hi Roger, there is a breaking change in Gradle 5. See the upgrading from Gradle 4 guide. That means one of your plugins is using that old API. You can find out which one by running your build with...
View ArticleHow to supply source jars from flatDir for eclipse debugging
The jar wasn’t built by maven, but creating the minimal .pom manually worked! My build is picking up the latest binary jar and sources jar from my maven “repository” and I can now step through and set...
View ArticleHow to supply source jars from flatDir for eclipse debugging
I agree – seems odd that a pom is required since the group/artifact/version can all be derived from the compile statement. But since the poms were easy enough to create I tried that first. I’ll give...
View ArticleIs SetProperty with @InputFiles fully supported?
I completely forgot about that forum topic :-/. In the meantime, I created related one here with some real-life case: How to ConfigurableFileCollection.setFrom with Provider? See also the source code...
View ArticleDokka 0.10 Kotlin Javadoc Workaround
I only care about running with Java 10+ (well, 11+ now, if you want to be specific). Before Java 10, Dokka could make HTML files that matched the output of what you’d expect from running the javadoc...
View ArticleHow to supply source jars from flatDir for eclipse debugging
It makes sense to me that gradle needs a pom for “ToolboxCore:ToolboxCore:1.0” since gradle wants to find the transitive dependencies. Did you try “ToolboxCore:ToolboxCore:1.0@jar”?
View ArticleRunning one task in a loop inside another. Migrating from Ant
Are you running gradle jarAll?
View ArticleBuild file '/home/bill/Downloads/hugo-intellij-plugin-master/build.gradle'...
I have just installed the hugo-intellij-plugin-master/build.gradle’ for the first time. I’m getting the followin error from within InteliJ: A problem occurred evaluating root project...
View ArticleBuildscript dependencies
I have a buildscript which includes a custom plugin as a dependency in the script. The dependecy declaration uses “classpath” to resolve the plugin (i.e buildscript{ dependencies { classpath...
View ArticleRunning one task in a loop inside another. Migrating from Ant
I tried running it as well as depending another task on it, but unfortunately, it failed both the ways.
View ArticleHow to supply source jars from flatDir for eclipse debugging
Not yet. I ended-up changing my build to use the maven-publish plugin to generate the .pom and to post the updated jars to my maven repo. That led me to replace the ‘java’ and ‘application’ plugins...
View ArticleExclude file from classpath runtime does not have desired effect
Thanks, it is indeed the solution.
View ArticleBuildscript dependencies
Using the classpath configuration for the buildscript dependency is correct. The deprecation notice is likely from something that the custom plugin is configuring when applied, not the code in your...
View ArticleI can't build a flutter app
Hi! I have tried multiple times to run the default flutter app (which you get when you first create a new flutter app, so it doesn’t contain errors for sure) and I can’t do that successfully. That’s...
View ArticleHow to ConfigurableFileCollection.setFrom with Provider?
Thanks to @Stefan_Wolf’s suggestion in that topic I solved my case with: task.sourceDirs.setFrom({ extension.mainSourceSets.get()*.allSource*.srcDirs } as...
View ArticleIs SetProperty with @InputFiles fully supported?
After your latest suggestion @Stefan_Wolf I solved it with Callable as detailed here. Thanks.
View ArticleCached version error
Hello, maybe it’ll help: the similar messages about “No cached version of com.android.tools.build:aapt2:3.6.3-6040484” I’ve seen when “Off-line mode” for Gradle plugin in Android Studio was on. By the...
View ArticleI can't build a flutter app
There’s not really more that can be said beyond the error message… > Kotlin could not find the required JDK tools in the Java installation 'C:\Program Files (x86)\Java\jre1.8.0_251' used by Gradle....
View ArticleHow to supply source jars from flatDir for eclipse debugging
My build is picking up the latest binary jar and sources jar from my maven “repository” and I can now step through and set breakpoints on the libs in eclipse. Great! Glad to hear I ended-up changing...
View ArticleRunning one task in a loop inside another. Migrating from Ant
You haven’t provided enough information for someone to help you
View Article