File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ plugins {
55}
66
77group ' io.securecodebox'
8- version ' 0.0.1-SNAPSHOT'
8+ version ' 0.0.2-SNAPSHOT'
9+ sourceCompatibility = ' 11'
910
1011repositories {
1112 mavenCentral()
@@ -57,12 +58,16 @@ publishing {
5758 }
5859 }
5960 repositories {
60- maven {
61- name = " GitHubPackages"
62- url = " https://maven.pkg.github.com/securecodebox/defectdojo-client-java"
63- credentials {
64- username = System . getenv(" GITHUB_ACTOR" )
65- password = System . getenv(" GITHUB_TOKEN" )
61+ repositories {
62+ maven {
63+ // change URLs to point to your repos, e.g. http://my.org/repo
64+ def releasesRepoUrl = " https://oss.sonatype.org/service/local/staging/deploy/maven2/"
65+ def snapshotsRepoUrl = " https://oss.sonatype.org/content/repositories/snapshots"
66+ url = version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl
67+ credentials{
68+ username = System . getenv(" MAVEN_USERNAME" )
69+ password = System . getenv(" MAVEN_PASSWORD" )
70+ }
6671 }
6772 }
6873 }
You can’t perform that action at this time.
0 commit comments