When, I am trying to Run Code Then Showing Error
Hey, Friends On Android Studio I have created one application but when I am trying to run my app then showing Three Errors -> 1. Caused by:...
View ArticleAndroid Studio Many gradle Bugs
@Sultan - check out the answer someone gave me here: https://stackoverflow.com/questions/61479338/android-studio-react-native-build-fails
View ArticleCan't add Kotlin JVM library as dependency to another Kotlin JVM library due...
Hi all, I maintain two open source, Kotlin/JVM libraries, and one of them requires the other. Both libraries must support JDK 8 and 11, and they must also work on Android. The Gradle build file for...
View ArticleScala project with api dependencies
I have a scala project which uses the old compile dependency configuration. I want to migrate them to api and implementation scopes. The current gradle project provides a fat-jar with all compile...
View ArticleCan't add Kotlin JVM library as dependency to another Kotlin JVM library due...
I’ve just fixed this issue by making sure the process doing the release used Java 8 instead of Java 11. However, what’s the point of specifying the target JDK version in build.gradle.kts if I still...
View ArticleGet Gradle distribution type
I develop a plugin that run Gradle. In my plugin I use GradleConnector to run a specific Gradle task which is relevant to my plugin. I’m looking for a way to get the chosen Gradle distribution type...
View ArticleGradle plugin with reflections
Hi every body, here is the way I get URLs: final URL[] urls = project.sourceSets.main.output.classesDirs.files.collect { File dir -> dir.listFiles() }.flatten().collect { getLogger().lifecycle(...
View ArticleGradle plugin with reflections
Lance: project.sourceSets.main.output.classesDir.toUri().toUrl() How to unit test it?
View ArticleHow to attach a RunListener to your JUnit 4 tests in Gradle
New version 12.2.0 has just been published. Upgrades since version 11.0.0 include: Support for rule-base global timeout management, coordinated with annotation-based timeout Full support for the...
View ArticleCustom gradle plugin throws Unable to load class...
I’m using the ClassGraph library inside a custom gradle plugin: https://github.com/RoRoche/plantuml-gradle-plugin It’s OK during unit testing and while releasing into local Maven and used in another...
View ArticleUse @Incremental with files being both input and output?
I have a custom task fixing whitespace issues in source files (code). The source files is both input and output to the task. I do not see how to combine the incremental input changes API together with...
View ArticleUse @Incremental with files being both input and output?
Hi Joakim, this is currently not possible. What you can do have your task create the fixed source files in a new location and then copy them back in a separate task. I know that this is far from idea...
View ArticleUse @Incremental with files being both input and output?
Hi Stefan, thanks for the quick and clear answer.
View ArticleWeird dependence version resolution (compare)
I found that Gradle consider 3.0.0-alpha49-SNAPSHOT as smaller than 3.0.0-alpha45. It is very strange. I tried use github.com...
View ArticleCMD , Spartacus , PLATFORM_HOME , ANT_HOME , ANT_OPTS
Hi , I am getting error to install sap spartacus into local machine. My CMD Error ; failed for task ‘:recipes:b2c_for_spartacus:buildSystem’. external process returned non-zero exit code, command:...
View ArticleNeed help to build jar & update it
Hi, I am a newbie to using Gradle. Need steps to build & update an existing jar file [update the JDK update version]. Gradle install is successful & i am able to run the gradle -v command....
View ArticleGradle Enterprise Test Distribution Gradle plugin 1.0 has been released
The Gradle Enterprise Test Distribution Gradle plugin v1.0 has been released. Compatible with Gradle Enterprise 2020.2 or later.
View ArticleGradle Enterprise Test Distribution Agent 1.0 has been released
The Gradle Enterprise Test Distribution Agent v1.0 has been released. Compatible with Gradle Enterprise 2020.2 or later.
View ArticleError facing while using Gradle
Hi Guys, I am facing below error while using gradle can anyone guide me Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use ‘–warning-mode all’ to show the...
View Article