Skip to content

Commit ce6f3a8

Browse files
committed
Update dep on msg-simple to java-json-tools snapshot.
1 parent 1433933 commit ce6f3a8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,18 @@ apply(from: "project.gradle");
3333

3434
group = "com.github.java-json-tools";
3535

36+
ext.forRelease = !version.endsWith("-SNAPSHOT");
37+
3638
/*
3739
* Repositories to use
3840
*/
3941
repositories {
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");
209215
signing {
210216
required { forRelease && gradle.taskGraph.hasTask("uploadArchives") };
211217
sign configurations.archives;

project.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ targetCompatibility = JavaVersion.VERSION_1_7; // defaults to sourceCompatibilit
3131
dependencies {
3232
implementation(group: "com.fasterxml.jackson.core", name: "jackson-databind", version: "2.9.9");
3333
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");
3535
implementation(group: "com.google.code.findbugs", name: "jsr305", version: "2.0.1");
3636
testImplementation(group: "org.testng", name: "testng", version: "6.8.7") {
3737
exclude(group: "junit", module: "junit");

0 commit comments

Comments
 (0)