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

Commit 80ed091

Browse files
committed
added JFrog releases
1 parent fe20abe commit 80ed091

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

gradle/grails.commons.gradle

+13
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,19 @@ publishing {
6363
password = System.getenv("GITHUB_TOKEN")
6464
}
6565
}
66+
if (System.getenv('DEPLOYER_PASSWORD')) {
67+
maven {
68+
credentials {
69+
username "deployer"
70+
password System.getenv('DEPLOYER_PASSWORD')
71+
}
72+
if (project.version.endsWith('-SNAPSHOT')) {
73+
url 'https://agorapulse.jfrog.io/agorapulse/plugins-snapshots-local/'
74+
} else {
75+
url 'https://agorapulse.jfrog.io/agorapulse/plugins-releases-local/'
76+
}
77+
}
78+
}
6679
}
6780
publications {
6881
gpr(MavenPublication) {

gradle/groovy.commons.gradle

+13
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,19 @@ publishing {
5353
password = System.getenv("GITHUB_TOKEN")
5454
}
5555
}
56+
if (System.getenv('DEPLOYER_PASSWORD')) {
57+
maven {
58+
credentials {
59+
username "deployer"
60+
password System.getenv('DEPLOYER_PASSWORD')
61+
}
62+
if (project.version.endsWith('-SNAPSHOT')) {
63+
url 'https://agorapulse.jfrog.io/agorapulse/libs-snapshots-local/'
64+
} else {
65+
url 'https://agorapulse.jfrog.io/agorapulse/libs-releases-local/'
66+
}
67+
}
68+
}
5669
}
5770
publications {
5871
maven(MavenPublication) {

0 commit comments

Comments
 (0)