[Gradle 6.1.1][JAVA] Implementation still loading transitive dependencies in...
pilak: Normally using the implementation scope in the app and the A library would not load the B dependency, is it? No, that is incorrect. The usage of implementation vs. api is related to the classes...
View ArticledependsOn("run")
You’re using the application plugin, which has one required configuration option. You must specify the name of the main class for the application (the class containing public static void main(String[]...
View ArticleWhat is the correct way to link 3rd party C++ libraries in Gradle?
I am currently trying to evaluate the use of Gradle C++ for a project that will have both Java and C++ components (with JNI to interface). I could just use CMake for the C++ portion, but then I would...
View ArticleIssues while using springboot-gradle-plugin with Eclipse
I’m having issues to use springboot-gradle-plugin with Eclipse. I had created this stackoverflow post: https://stackoverflow.com/questions/60140145/springboot-gradle-plugin-not-working-with-eclipse...
View ArticleDeclaring a directory dependency in Gradle
I have an application that reads some files during its operation. These files are grouped in a directory dir which I would like to add as a dependency to Gradle. However when I add the following lines...
View ArticleUse Repository Manager to proxy Gradle Central Plugin Repository
We have now tighten our network, thus we cannot access the Gradle Central Plugin Repository any more. All our dependencies are retrieved from Nexus Repository Manager. How can we also use Nexus for...
View ArticleHow to take all the dependencies of a particular configuration from all...
I m still in searching gradle docs to resolve this requirement? Pls support
View ArticleUsing Gradle Plugins for common base structure
hi all, we have a lot of gradle projects (Java Springboot apps) that use the same syntax on the build.gradle file, so we would like to make a common factor for these piece of code: ` plugins { id...
View ArticlePlease help me out with this
How to create single jar of angular code + springboot code using gradle??
View ArticlePlease help me out with this
Plenty of people have blogged about how to do exactly that. If you didn’t read any of it, I recommend doing that and then come back here with any questions or concrete issues you face. The first...
View Article[Gradle 6.1.1][JAVA] Implementation still loading transitive dependencies in...
I understand now better what happens. In my case, I only have to put dependency B in compileOnly into A, and use testImplementation to be able to build project in build.gradle Then in the app, I can...
View ArticleHow to take all the dependencies of a particular configuration from all...
Not sure how pretty this is, but maybe something like this? // Root project dependencies { subprojects { client project(path: it.path, configuration: "client") } } task copyClientDeps(type: Copy) {...
View ArticleIssue when executing XJC Ant task through Gradle - ClassNotFoundException
Hello all, we had an ClassNotFoundException happening after executing XJC Ant task through Gradle. And we managed to find the root cause for this and it’s in the JAXB implementation. That...
View ArticleGradle + Kotlin: Problems with subprojects and plugins
Hello this behavior is related to how kotlin dsl generates type-safe model accessors. According to current documentation: https://docs.gradle.org/current/userguide/kotlin_dsl.html#type-safe-accessors...
View ArticlePlease help me out with this
But from where i should study it? I went through lots of blogs but i don’t understand it.
View ArticleGradle Incremental builds
Hi, Please help me to provide the steps or answers for the below two questions: 1.How to implement gradle incremental builds(Delta builds) in jenkins? 2. We have multiple modules, how to build a...
View Article'Parent' build.gradle file
You are not able to use the plugins { } block anywhere except the build.gradle file for a project. You would need to fall back to buildscript { } instead if you use script plugins. However, script...
View ArticleCould not determine the dependencies of task ':sonarqube'
Hi, I am new to gradle and I getting the below error during the time of running sonarqube code analysis for gradle project. Could not determine the dependencies of task ':sonarqube' My root directory...
View ArticlePlease help me out with this
Chose a blog or guide out there to follow. Lets assume you used the one I linked to. Which part didn’t you understand? If nothing made sense at all, then I recommend reading up a bit on Gradle,...
View Article