Gradle 1.5 adds version to artifact id. How? Why?


(Tom Eugelink) #1

I’ve upgrade JFXtras 8.0 to use Gradle 1.5-rc1 because of Java 8 issues earlier versions of Gradle have. Now all of a sudden the same build.gradle generates a Maven artifact where the version (8.0) is included in the artifact name. See it here: https://oss.sonatype.org/content/repositories/snapshots/org/jfxtras/

You can see the gradle.build for the current 2.2 and the problematic 8.0 branch here: https://github.com/JFXtras/jfxtras-labs

Why is it doing that (I’m pretty much a gradle noob) and how do I stop it? :slight_smile:


(Luke Daley) #2

I can’t build that branch, so can’t reproduce.

How do I get it to a buildable state?


(Tom Eugelink) #3

Sorry that I’m responding so late. Could you elaborate on why you cannot build? Now it’s guessing for me of course. But to state the obvious; you do need to use Java 8.


(Luke Daley) #4

But to state the obvious; you do need to use Java 8

Not obvious enough for me :slight_smile: I missed that detail. Apologies.

Will try again.


(Tom Eugelink) #5

LOL. Well, it is understandable, that detail is somewhat wrapped in the sentence.