This repository was archived by the owner on Jul 28, 2023. It is now read-only.
File tree 2 files changed +26
-0
lines changed
2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,19 @@ publishing {
63
63
password = System . getenv(" GITHUB_TOKEN" )
64
64
}
65
65
}
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
+ }
66
79
}
67
80
publications {
68
81
gpr(MavenPublication ) {
Original file line number Diff line number Diff line change @@ -53,6 +53,19 @@ publishing {
53
53
password = System . getenv(" GITHUB_TOKEN" )
54
54
}
55
55
}
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
+ }
56
69
}
57
70
publications {
58
71
maven(MavenPublication ) {
You can’t perform that action at this time.
0 commit comments