Hello,
yes you are right. The version is actually over-ridden in the resulting
artifact.
The problem is related to uploading of the jar to the file system repo:
uploadArchives {
uploadDescriptor = false
configuration = configurations.connector_domain_classes
repositories {
add project.repositories.localRepository
}
}
When I run "gradle uploadArchives" the jar gets copied to the repo directory
but the name is
foo-1.0-SNAPSHOT.jar instead of foo-3.0
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Create-an-artifact-with-a-different-version-number-as-the-main-project-tp3374437p3374506.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email