Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
added JFrog releases
Browse files Browse the repository at this point in the history
  • Loading branch information
musketyr committed May 5, 2021
1 parent fe20abe commit 80ed091
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions gradle/grails.commons.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,19 @@ publishing {
password = System.getenv("GITHUB_TOKEN")
}
}
if (System.getenv('DEPLOYER_PASSWORD')) {
maven {
credentials {
username "deployer"
password System.getenv('DEPLOYER_PASSWORD')
}
if (project.version.endsWith('-SNAPSHOT')) {
url 'https://agorapulse.jfrog.io/agorapulse/plugins-snapshots-local/'
} else {
url 'https://agorapulse.jfrog.io/agorapulse/plugins-releases-local/'
}
}
}
}
publications {
gpr(MavenPublication) {
Expand Down
13 changes: 13 additions & 0 deletions gradle/groovy.commons.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@ publishing {
password = System.getenv("GITHUB_TOKEN")
}
}
if (System.getenv('DEPLOYER_PASSWORD')) {
maven {
credentials {
username "deployer"
password System.getenv('DEPLOYER_PASSWORD')
}
if (project.version.endsWith('-SNAPSHOT')) {
url 'https://agorapulse.jfrog.io/agorapulse/libs-snapshots-local/'
} else {
url 'https://agorapulse.jfrog.io/agorapulse/libs-releases-local/'
}
}
}
}
publications {
maven(MavenPublication) {
Expand Down

0 comments on commit 80ed091

Please sign in to comment.