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

While creating package to deploy to playstore getting Execution failed for...

Here is the the error which I am getting. while deploying the file to my mobile there is is no issue. What went wrong: Execution failed for task ‘:app:signReleaseBundle’. A failure occurred while...

View Article


Test report isn't counting Cucumber tests

Hi! I’m migrating from Maven but I have a problem with Cucumber tests. They are running (the build fails when I introduce an error to the test) but the test report informs zero tests ran for the test...

View Article


Maven repository Gradle snippets are out of date

The Maven repository Gradle snippets use older syntax: compile instead of implementation and providedCompile instead of compileOnly. For instance //...

View Article

How to attach a RunListener to your JUnit 4 tests in Gradle

JUnit Foundation now has a new home: https://github.com/sbabcoc/JUnit-Foundation The README documentation has been updated to show a greatly simplified Java agent idiom for standard projects, and now...

View Article

Image may be NSFW.
Clik here to view.

What is detachedConfiguration? I have a lots of them for each subproject and...

It worked for me too. Awesome

View Article


Recompile with -Xlint parameters

@sjfleck The code snippet is typically added to a build.gradle file in your project. This can be the project root build.gradle file or build.gradle file of one of your project’s modules. You can add...

View Article

Gradle monobuild and map of jar files for all gradle composite builds

We have a directory structure like so java build/build.gradle (This does NOT exist yet, but we want this) servers server1/build.gradle server2/build.gradle libraries lib1/build.gradle...

View Article

Image may be NSFW.
Clik here to view.

Problem when doing gradlew genIntellijRuns

gradlew1442×650 121 KB Hi, I this problem here, I tried finding an answer on the forum, on internet and such but I am new to all of this and I didn’t understood a single thing. I read about chmod777,...

View Article


Injecting new classpath and/or plugin dynamically

I am writing a game engine, and I have very big plugin infrastructure. Recently I moved to gradle for android builds and allowed plugins to have it’s custom engine.gradle. In my main build script I...

View Article


Problem when doing gradlew genIntellijRuns

Same problem here If you get the answer I would like to get the answer too please help

View Article

dependecyCheck not scanning Json files

Hi, I am new to use OWASP dependecyCheck plugin’s . Please suggest how to achieve the requirement I have customised Json file in such a way that it includes project dependencies information. How the...

View Article

Kotlin github repository library resolving issue

I have published a library qt-data.jar in github maven repository and I wanted to use that library in another library qt-notification.jar. It seems that my local machine can pull the qt-data as I gave...

View Article

Dependency not working on same version

Hello, At our company, we use Artifactory to manage artifacts and dependencies of Gradle. We have library that was build with Gradle 6.0.1, in addition, have a micro-service that was built with Gradle...

View Article


How do you best add resources to compileClasspath?

We have a project which is a java-compiler plugin which can’t be cleanly added to a composite build using --include-build. It works fine if we publish to our maven repo and do not use --include-build....

View Article

Gradle Dependency : Upgrade from jar to aar doesnot work

Hello team, Recently we came across a situation while updating an existing version of AkamaiBMP-2.1.2".jar". The new one is 3.1.0.“aar”. Both the files are stored in Nexus artifactory and there are no...

View Article


Recommended ways of (Java) dependency management

Hi everyone! I was wondering what the current recommendations for managing JVM (Java) dependencies in multi-project builds are. For context, we’re talking about a Gradle multi-project build for a Java...

View Article

Composite Build: Access org.gradle.api Project reference?

Hi, When including another Gradle project via --included-build, is there a way to access the org.gradle.api.Project of this included project? Or more specific, we have dev-mode Gradle plugin where i...

View Article


Image may be NSFW.
Clik here to view.

Latest point at which projectCacheDir can be set

Btw, setting gradle.user.home in your gradle.properties doesn’t actually work, even though the manual seems to say that it does: stackoverflow.com gradle.user.home - set in gradle.properties,...

View Article

Timeframe for using Groovy 3+ for Groovy DSL

Is there any planned timeframe for Gradle upgrading to using Groovy 3+ for the Groovy DSL instead of Groovy 2.5.x?

View Article

Gradle Dependency : Upgrade from jar to aar doesnot work

Hi there, can you specify the dependency as AkamaiBMP-3.1.0@aar?

View Article
Browsing all 19850 articles
Browse latest View live