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

Explicit property to enable Gradle scan

If the build scan plugin is applied, the build data is always captured on the machine where the build is run, but not necessarily published to scans.gradle.com depending on the publishing settings....

View Article


No Debug information with remote debugger

Trying to attach a debugger client to my Kotlin project built by gradle with debug information such as source code. Within project root I execute: ./gradlew test --debug-jvm. After jdb -attach $PORT,...

View Article


Try: Run with --stacktrace option to get the stack trace

Hi, please help me for the following problem with IntelliJ Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get...

View Article

Chain task execution on subprojects

Hello guys, I have a multi-module Gradle project with multiple samples grouped by categories as follows: ./ gradlew projects Root project 'my-project' +--- Project ':demos' \--- Project ':samples'...

View Article

Image may be NSFW.
Clik here to view.

Help ME, Please

Screenshot_434790×116 12.3 KB HELP

View Article


Gradle Plugin Task Reflection Scans Plugin's Project Class Files Instead of...

Same problem here. I was able to replicate the same config in android with kotlin using android variants but not sure how to get the runtimeClassPath. You can actually reuse the same approach as...

View Article

Target both Java 8 and Java 9 in a single project

I currently have this project: https://github.com/Proximyst/fieldmod It uses an older version of Gradle which supports depending on a subproject (implementation) which targets Java 9 while the root...

View Article

Target both Java 8 and Java 9 in a single project

This is a consequence of a change introduced in Gradle 5.3. You can read and learn about the way to disable it in this entry of the version upgrade guide.

View Article


Explicit property to enable Gradle scan

This makes things clear. Thank you @etiennestuder!

View Article


Image may be NSFW.
Clik here to view.

CVE issues with Gradle 6.3

Please find below link for the CVE report: drive.google.com dependency-check-report_6.3.html Google Drive file.

View Article

Dokka 0.10 Kotlin Javadoc Workaround

Sorry, I still am not sure about what you expect the outcome to be. Do you want the <project>-<version>-javadoc.jar to contain the Dokka HTML files when running with Java < 10? Or...

View Article

Transitive dependencies not working

Hi, i am writing a gradle plugin and transitive dependencies are not working there. This is how i create the configuration and set transitive to true: ConfigurationContainer configurations =...

View Article

A failure occurred while executing...

Hi I don’t know if anyone else is having the same problem as me? I’m relatively new to android studio and didn’t have a problem before installing the new updates. If anyone could give me a solution to...

View Article


Unique snapshot dependencies for project's own subproject in POM not declared

Suppose you have a library project named ‘foo’, which consists of two subprojects foo-core and foo-extensions, where foo-extensions declares a dependency on foo-core. Now foo’s version is set to...

View Article

How to create an exploded war with Kotlin DSL?

You can do something like this in kotlin for what you have listed: // Exploded war files val explodedWar by tasks.register<Copy>("explodedWar") { into("$buildDir/libs/exploded")...

View Article


Build only subprojects in a dynamic multi-module project

For the record: to exclude compileJava task from rootProject I use the -x :compileJava Example: ./gradlew compileJava -x :compileJava > Task :sampleA:compileJava UP-TO-DATE > Task...

View Article

Chain task execution on subprojects

For the record: so far I came up with the following script # build.gradle.kts subprojects { ... afterEvaluate { childProjects.forEach { tasks.forEach { task ->...

View Article


Gradle 6.4-rc-1 is now available for testing

Gradle 6.4 RC1 is available for testing; see the release notes for more information.

View Article

Gradle 6.3 released

View Article

Gradle 6.4-rc-1 is now available for testing

View Article
Browsing all 19850 articles
Browse latest View live