This repository was archived by the owner on Jul 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments