Gradle 2.0 talks about using other ivy metadata. But I couldn’t make adding branch attribute work. As shown below ivy {
url ‘http://buildserver:8081/artifactory/repo’
layout ‘pattern’, {
artifact ‘[organisation]/[module]/[branch]/[revision]/[artifact].[ext]’
}
}
compile(group: ‘org.coastal’, name: ‘chopper’, version: ‘latest.integration’) {
branch = ‘trunk’ }
Any ideas?