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

Migrate Nested Parent Maven Project to Gradle

Another note here about structure that might apply. The current structure for the source code is not aligned with what the end result structure looks like. Here is what the structure looks like: root...

View Article


Opening Test Reports in a Browser

Is there a way to get gradle to automatically open the test report in a browser? If there isn’t, what do people think about a switch like --open-failed-tests-report? Jon

View Article


Image may be NSFW.
Clik here to view.

Dependency location is resolved with wrong case

I am having some trouble with case sensitivity in dependency resolution. In my nexus repository are two artifacts available: my.test:name:1.0.0.0-SNAPSHOT my.test:Name:1.0.0.0-SNAPSHOT Which results...

View Article

Parallel build conflicts with annotation processor?

Hello! I am currently working on a project migration from Maven to Gradle 6.5.1 (I’m a Gradle newbie). Overall the migration seems complete, so I wanted to try on the parallel execution. It seems to...

View Article

How to disable auto refresh in gradle tasks view

My develop IDE is eclipse, and I have many projects which are builded with gradle, when I re open the IDE, and click the “Gradle Tasks” button, the tasks will be all auto refreshed, it took me too...

View Article


Gradle Enterprise Maven Extension 1.6.2 has been released

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

View Article

Gradle with IntelliJ IDEA does not recognise Java and Kotlin source and...

Changing id 'org.jetbrains.kotlin.multiplatform' version "$kotlin_version" to id 'org.jetbrains.kotlin.jvm' version "$kotlin_version" and removing kotlin { jvm { withJava() } } solves all 3 problems.

View Article

Errors on app Build - Deprecated Gradle

I had this issue, and this worked for me: react-native run-android --no-jetifier

View Article


Dependency on older published project artifact

My project has a dependency on a previous version of it’s own published artifact on Maven (for compatibility analysis at build time), but this dependency cannot be resolved. As a result, the “old”...

View Article


How can i get attributes from build.gradle in my Java code , using ToolingApi

Im using the ToolingApi to communicate from java with my build.gradle , i use also the IDE Eclipse and projects with type EclipseProject of ToolingApi , i declared in my build.gradle an attribute...

View Article

SourceSet with name 'main' not found

This is my setup: Module: checks ( java-library) Module: styling-lint ( android-library ) which works like a bridge between checks and projects who implements styling-lint : apply plugin:...

View Article

Build failed after upgrading to Android Studio 4

did you find the solution, I am facing similar issue when adding zendesk sdk in my android project

View Article

Feature variants for java library

Hi! I’ve had the same problem, this seems like a very common scenario but it’s completely missing in the documentation. In my case, I have a library that can be used directly, but also offers support...

View Article


inferModulePath doesn't work with Spring's dependency management plugin

Finally figured out that the reason I was getting all these module not found errors is that the module path inference doesn’t seem to pick up dependencies added by the...

View Article

Watching the file-system at CI

Hello folks, I have a multi-module Gradle project with a decent number of files which I supposed potentially could have benefited from using the new --watch-fs feature. But, actual CI logs don’t show...

View Article


How to customize JavaExec command line

Ended up doing something like that below but it doesn’t work with Gradle 6.6 (worked with 6.5.1). Any idea why it doesn’t work with 6.6 ? looks like commandLine only contains the executable now....

View Article

Feature variants for java library

I thought that using project dependencies was not recommended for libraries. My understanding is that the dependency will not be versioned properly (like a GAV), and will prevent Gradle/Maven to...

View Article


Watching the file-system at CI

CI builds are triggered by commits (eg a git webhook) whereas filesystem watching is all about watching the file system to trigger builds. What are you hoping to achieve with FS watching in a CI build...

View Article

Study On Rejected Refactorings

Dear contributors, As part of a research team from Università della Svizzera italiana (Switzerland) and University of Sannio (Italy), we have analyzed refactoring pull requests in eclipse/buildship...

View Article

Test Fixtures with Android library modules

Any updates on this?

View Article
Browsing all 19854 articles
Browse latest View live