Applying a (BOM-) platform to all configurations
gsson: One of my issues it that I can’t handle libraries (where I need to apply it to api ) and applications (where I need to apply it to implementation ) uniformly. If you explicitly depend on the...
View ArticleUnable to figure out how a transitive dependency of a particular version is...
Unable to figure out how a transitive dependency of a particular version is ending up in my jar? In my dependency section, I list guava 26.0-jre and I have jar task in my build.gradle so when I do...
View ArticleUnable to figure out how a transitive dependency of a particular version is...
Can you post your build.gradle file?
View ArticleUnable to figure out how a transitive dependency of a particular version is...
(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)
View ArticleIntelliJ can't find org.gradle.api libs, but CLI does?
I have a Gradle plugin project that builds on my OSX command line via ./gradlew build for example. I’ve “Import from existing source” the project into IntelliJ and when I build, I get Error:(3, 22)...
View ArticleUnable to figure out how a transitive dependency of a particular version is...
kant111: In my dependency section, I list guava 26.0-jre Where is this in your dependency list?
View ArticleUnable to figure out how a transitive dependency of a particular version is...
(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)
View ArticleUnable to figure out how a transitive dependency of a particular version is...
Can you try "guava": [ ... "com.google.guava:guava:${myVersions["guava"]}" {force = true} ... ] My guess is Gradle deems version 19.0 is later than 26.0-jre. When you do your dependencies and...
View ArticleUnable to figure out how a transitive dependency of a particular version is...
That syntax quite doesnt work. I am using gradle 5.5 I get the following error A problem occurred evaluating root project > Could not find method com.google.guava:guava:26.0-jre() for arguments...
View ArticleUnable to figure out how a transitive dependency of a particular version is...
And no I don’t see any 19.0 in fact here is the output. gradle dependencyInsight --configuration compile --dependency guava Configuration on demand is an incubating feature....
View ArticleUnable to figure out how a transitive dependency of a particular version is...
You somehow need to make the equivalent of this work in your fancy build.gradle files. dependencies { ... compile ("com.google.guava:guava:26.0-jre") {force = true} ... } Maybe this in your...
View ArticleThe mrJar Plugin v0.0.16 has been released — JPMS Modules Made Easy
Graou74: „…Make a zip of your project available, and I see if it works after import into Eclipse…“ lingocoder.graou74.mr.fixit.0.zip (168.3 KB) I hope this helps?
View ArticleUnable to figure out how a transitive dependency of a particular version is...
kant111: .google.guava:guava:26.0-jre -> 28.0-android I see above though. The -> denotes that you’re no longer have what you wanted in your dependency tree.
View ArticleUnable to figure out how a transitive dependency of a particular version is...
I tried excluding 28.0-android and I still get the same result. Also, I tried changing guava version to 20.0 since you said -jre can be an issue. I both cases I see guava 19.0 in my myproject.jar
View ArticleUnable to figure out how a transitive dependency of a particular version is...
Did you try the second suggestions for {force = true} syntax?
View ArticleUnable to figure out how a transitive dependency of a particular version is...
Yes I got the same syntax problem so I tried this configurations.all { resolutionStrategy { force "com.google.guava:guava:26.0-jre" } } Still the same result I see guava 19.0 #Generated by...
View ArticleIncluding Google Maps API Library in EAR File?
I’m using https://github.com/googlemaps/google-maps-services-java in an app which has a WAR file contained in an EAR file deployed to a web server. Following the readme, I added: repositories {...
View ArticleGradle Script not working in AIX System
I am migrating one project from ant to gradle. I am working on windows as well as AIX System. While building in windows system, gradle build is successful; but when I am running the same script in AIX...
View ArticlePending Approval since one week
Thanks a lot. A day after my post the plugin was approved. So all’s good Thank you
View Article