Quantcast
Channel: Gradle Forums - Latest posts
Browsing all 19859 articles
Browse latest View live

Exception in thread "main" java.lang.NullPointerException at...

Please help me, Thanks in Advance.

View Article


Changing buildDir in multi-project

Yeah I want to specify the build directory at build time dynamically. I call gradle from the cmake build system and want the gradle build directory to be inside the cmake build directory.

View Article


Upgrade 5.5.1 to 5.6 broke my build

ahh, they keep changing the apis the GroovyPlugin uses and this plugin is nearly a copy of that one but for html compiling…grrrr, if only they would solidify the apis in use and lock them down. then...

View Article

Org.gradle.java.compile-classpath-packaging=true failing to affect class path

In a Gradle 6.1.1 composite build, I added org.gradle.java.compile-classpath-packaging=true to the gradle.properties in the composite and in each included build. From what I know, that property is...

View Article

Run cleanTaskName without adding depencies

To utilize the gradle build cache, gradle must have exclusive access to the output files. In a project I work on files can also be generated by a GUI tool when the user tests the configuration so...

View Article


Image may be NSFW.
Clik here to view.

Specify minimum gradle version for a plugin

Schalk_Cronje: case above you rather need a decisio It would be great if gradle read a file for that info. In my case I copy the GroovyPlugin code as mine is pretty much doing a similar thing but for...

View Article

Specify minimum gradle version for a plugin

That’s why I created the Grolifant library, so that it can deal with a lot of that rather than the plugin developer. Still a lot of scope for adding new stuff there, but in some cases doing the check...

View Article

Image may be NSFW.
Clik here to view.

parallel gradle builds running on jenkins causing issue with gradle global cache

We run our CI on Jenkins. The below image is a decent explanation of the whole setup (non-relevant steps are removed for the sake of simplicity). 831×841 73.2 KB To summarize, our overall process: We...

View Article


Need a Gradle task to copy ALL dependencies to a local maven repo

Hello, I created my account just to thank you for sharing. I was able to copy my gradle cache to Maven Local repo thanks to your task.

View Article


Image may be NSFW.
Clik here to view.

How do I force gradle to download dependency sources

I tried both. It doesn’t work . IntelliJ still decompiles it when I try to look at code of library.

View Article

How do I force gradle to download dependency sources

I can only guess that you didn’t actually run the tasks after adding the snippets. Eg gradlew eclipse or gradlew copyJavadocsAndSources

View Article

How do I force gradle to download dependency sources

Did it now. Still the same thing.

View Article

How do I force gradle to download dependency sources

I just realised you are using intellij. Try gradle cleanIdea idea

View Article


How do I force gradle to download dependency sources

Task “cleanIdea” not found.

View Article

Image may be NSFW.
Clik here to view.

parallel gradle builds running on jenkins causing issue with gradle global cache

Hi, This is deleting the local build cache but also all kinds of other Gradle caches which are used during the build: sukantamaikap: rm -rf /var/lib/jenkins/.gradle/caches Why do you run this as part...

View Article


How to run a task in the root project before compiling or running any of the...

How to run a task in the root project before compiling or running any of the subprojects? More specifically, I want to execute a proto(generate code from protocol buffers spec) task at the root...

View Article

How do I force gradle to download dependency sources

Did you apply plugin: 'idea'

View Article


Gradle Enterprise Maven Extension 1.3.6 has been released

The Gradle Enterprise Maven Extension v1.3.6 has been released. See release notes for the changelog. Compatible with scans.gradle.com and Gradle Enterprise 2019.4 or later.

View Article

Does the scala compiler have some inherent lock?

I found a lock in ZincScalaCompilerFactory that is needed to create the bridge jar, but afaik, it should only block processing once and then pass through quickly.

View Article

Any plans to make shade public API?

Gradle uses it’s own shading internally and some DSL support leaks into user space (e.g. generated ShadeConfigurationAccessors.kt). I’m wondering if there any plans to make it accessible to a broader...

View Article
Browsing all 19859 articles
Browse latest View live