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

Image may be NSFW.
Clik here to view.

Why do WARs have no dependencies with maven-publish

Hi Daniel, Sounds good. Yes, most of it should work with 5.6.3 (and maybe 5.5.1) already. We just added better documentation for 6.0. Also, “creating and publishing custom components” would be even...

View Article


Adding a library to .classpath file in Eclipse

Isn’t it good enough to declare the lib entry in the Gradle classpath container? There are a few examples of how to do it here.

View Article


Disable repo.maven.apache.org

Thanks. It was really caused by 3rd party plugin.

View Article

Image may be NSFW.
Clik here to view.

Compile and test with java 11 and jupiter

regrog: „You gave me a good hint for another topic about build folders in eclipse and gradle. Thanks!…“ You’re welcome! It’s the least I can do Are you able to share what that other topic is? It...

View Article

Adding a library to .classpath file in Eclipse

Not sure how to declare the lib entry in the gradle classpath container - how to do that?. Using the link you referenced, I tried the below. I could see, using println statements, that the library was...

View Article


Apply plugin in precompile script gradle kotlin

hi i’m trying to apply precompile script gradle.kts file ( gradle.kts script is put in buildSrc/main/java . everything work normally except that i can not add a plugin with version. for example my...

View Article

Best practice for api vs implementation in multi-module project

I don’t need to retell the documentation here. Your advice is irrelevant, and completely useless, sorry.

View Article

[Oct 24th Webinar] Dependency Management with Gradle - Publishing and Release...

View Article


Image may be NSFW.
Clik here to view.

[WEBINAR] What's new in Gradle 6.0?

[WEBINAR] What’s new in Gradle 6.0? Join us on November 19th for a live webinar on what’s new in Gradle 6.0

View Article


[WEBINAR] What's new in Gradle 6.0?

View Article

Don't run tests unless test task specified on command line

Note: The build I’m working on is a multi-project build. This may impact what solutions will work. I have a project with “unit tests” that are in pretty bad shape. Running all of them for the entire...

View Article

Gradle and webpack --watch

I have a frontend subproject, which build css and js bundles via com.moowork.node plugin. It runs npm run dev under the hood, and my bundles appears. npm run dev calls webpack with some options. Also...

View Article

Build Scan activation email not sent

In case this happens to anyone else, try activating the scan on a different browser. That worked for me.

View Article


Initialize instance variable in loop

why can not initialize instance variable in a loop contained in construct function

View Article

Transfer Plugin Ownership (Skatteetaten)

Hi! Can someone help with transfering ownership of https://plugins.gradle.org/plugin/no.skatteetaten.gradle.aurora to this user? /Erlend

View Article


Publish fat jar and thin jar for a project

I am trying to publish both fat jar and thin jar artifacts for a specific project. When I include the shadow plugin logic to publish the fat jar, bot the artifacts are published with dependencies...

View Article

Adding a library to .classpath file in Eclipse

In Buildship, the whenMerged block does not modify the .classpath file but the content of the Gradle classpath container (i.e. the content of the Project and External Dependencies classpath entry,...

View Article


Configuration phase thread safety

I’m writing a plugin for grade and something got me thinking: Can we assume that configuration phase is run from single thread and therefore there is no need to use synchronization. I’m aware that the...

View Article

Initialize instance variable in loop

Well it really depends on what are you exactly doing. An example would be great: If you meant that: you cannot initialize instance variable from within the class constructor. Then the only reason I...

View Article

Don't run tests unless test task specified on command line

A dumb solution would be to just make your build aware that it;'s running on jenkins and utilze solution nr 2 . Just add some project property from command line: ./gradlew -Pjenkins=true … and use...

View Article
Browsing all 19850 articles
Browse latest View live