Skip to content

Commit

Permalink
Added support for oss.jfrog SNAPSHOT builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ysb33r committed Jun 12, 2014
1 parent d271a48 commit ae5c9f2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ subprojects {
apply plugin : 'groovy'
apply plugin : 'maven'
apply plugin : 'idea'
apply plugin : 'artifactory'


sourceCompatibility = 1.6
Expand Down Expand Up @@ -53,6 +54,20 @@ subprojects {
testCompile 'org.spockframework:spock-core:0.7-groovy-1.8'
}

artifactory {
publish {
contextUrl = 'http://oss.jfrog.org'
repository {
repoKey = 'oss-snapshot-local'
username = project.properties.bintrayUserName
password = project.properties.bintrayApiKey
}
}
}

artifactoryPublish {
onlyIf { version.endsWith("SNAPSHOT") }
}
}


1 change: 1 addition & 0 deletions doxygen/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ uploadArchives {
}
}

onlyIf { !version.endsWith("SNAPSHOT") }
}


Expand Down

0 comments on commit ae5c9f2

Please sign in to comment.