File tree 2 files changed +8
-2
lines changed 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");
33
33
34
34
group = " com.github.java-json-tools" ;
35
35
36
+ ext. forRelease = ! version. endsWith(" -SNAPSHOT" );
37
+
36
38
/*
37
39
* Repositories to use
38
40
*/
39
41
repositories {
40
42
mavenCentral();
43
+ if (! forRelease) {
44
+ maven {
45
+ url " https://oss.sonatype.org/content/repositories/snapshots"
46
+ }
47
+ }
41
48
}
42
49
43
50
/*
@@ -205,7 +212,6 @@ uploadArchives {
205
212
}
206
213
}
207
214
208
- ext. forRelease = ! version. endsWith(" -SNAPSHOT" );
209
215
signing {
210
216
required { forRelease && gradle. taskGraph. hasTask(" uploadArchives" ) };
211
217
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
31
31
dependencies {
32
32
implementation(group : " com.fasterxml.jackson.core" , name : " jackson-databind" , version : " 2.9.9" );
33
33
implementation(group : " com.google.guava" , name : " guava" , version : " 28.1-android" );
34
- implementation(group : " com.github.fge " , name : " msg-simple" , version : " 1.1 " );
34
+ implementation(group : " com.github.java-json-tools " , name : " msg-simple" , version : " 1.2-SNAPSHOT " );
35
35
implementation(group : " com.google.code.findbugs" , name : " jsr305" , version : " 2.0.1" );
36
36
testImplementation(group : " org.testng" , name : " testng" , version : " 6.8.7" ) {
37
37
exclude(group : " junit" , module : " junit" );
You can’t perform that action at this time.
0 commit comments