File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ plugins {
1111 id ' signing'
1212 id ' eclipse'
1313 id ' maven-publish'
14- id(" io.github.gradle-nexus.publish-plugin" ) version " 1.3 .0"
14+ id(" io.github.gradle-nexus.publish-plugin" ) version " 2.0 .0"
1515 id ' project-report'
1616// id 'jacoco'
1717}
@@ -28,9 +28,9 @@ wrapper {
2828
2929def artifactName = ' javapos-controls'
3030group = ' org.javapos'
31- def uposVersion = ' 1.15' // if this version is going to be changed, first add "-SNAPSHOT"
32- // to the 'version' variable below for publishing to MavenCentral's Snapshot repo first as test
33- version= " ${ uposVersion} .0 " // the last part after dot is the build/release version
31+ def uposVersion = ' 1.15' // if this version is going to be changed, first add "-SNAPSHOT" to the
32+ // 'version' variable below for publishing to MavenCentral's Snapshot repo first as test
33+ version= " ${ uposVersion} .1-SNAPSHOT " // the last part after dot is the build/release version
3434
3535// dependency versions
3636def javaposContractsVersion = " $uposVersion . 0 "
@@ -119,7 +119,10 @@ sourcesJar {
119119
120120nexusPublishing {
121121 repositories {
122- sonatype()
122+ sonatype {
123+ nexusUrl. set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
124+ snapshotRepositoryUrl. set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
125+ }
123126 }
124127}
125128
You can’t perform that action at this time.
0 commit comments