Hi
i am working on a multi module grails project. It is using gradle for build.
Consider my main project as [Main] and subprojects [A], [B].
In the [main] projects build.gradle, i have added the below code:
subprojects{
uploadArchives {
repositories.mavenDeployer {
repository(url: "http://localhost:8081/nexus/content/repositories/test/") {
uniqueVersion = false
authentication(userName: "admin", password: "admin123")
}
}
}
}
It works for bot projects [A] and [B].
In real time, i would want only A to be uploaded and not B based on the version of the project. If te projects version ends wit ‘-SNAPSHOT’ then upload, or else ignore.Can you plese let me know, how to ignore ffor ffew projects?
Can anyone plese help me on tis.