File tree 1 file changed +12
-7
lines changed
1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ plugins {
5
5
}
6
6
7
7
group ' io.securecodebox'
8
- version ' 0.0.1-SNAPSHOT'
8
+ version ' 0.0.2-SNAPSHOT'
9
+ sourceCompatibility = ' 11'
9
10
10
11
repositories {
11
12
mavenCentral()
@@ -57,12 +58,16 @@ publishing {
57
58
}
58
59
}
59
60
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
+ }
66
71
}
67
72
}
68
73
}
You can’t perform that action at this time.
0 commit comments