File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,18 @@ apply(from: "project.gradle");
3333
3434group = " com.github.java-json-tools" ;
3535
36+ ext. forRelease = ! version. endsWith(" -SNAPSHOT" );
37+
3638/*
3739 * Repositories to use
3840 */
3941repositories {
4042 mavenCentral();
43+ if (! forRelease) {
44+ maven {
45+ url " https://oss.sonatype.org/content/repositories/snapshots"
46+ }
47+ }
4148}
4249
4350/*
@@ -205,7 +212,6 @@ uploadArchives {
205212 }
206213}
207214
208- ext. forRelease = ! version. endsWith(" -SNAPSHOT" );
209215signing {
210216 required { forRelease && gradle. taskGraph. hasTask(" uploadArchives" ) };
211217 sign configurations. archives;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ targetCompatibility = JavaVersion.VERSION_1_7; // defaults to sourceCompatibilit
3131
3232dependencies {
3333 compile(group : " com.google.guava" , name : " guava" , version : " 28.1-android" );
34- compile(group : " com.github.fge " , name : " msg-simple" , version : " 1.1 " );
34+ compile(group : " com.github.java-json-tools " , name : " msg-simple" , version : " 1.2-SNAPSHOT " );
3535 compile(group : " com.google.code.findbugs" , name : " jsr305" ,
3636 version : " 2.0.1" );
3737 testCompile(group : " org.testng" , name : " testng" , version : " 6.8.7" ) {
You can’t perform that action at this time.
0 commit comments