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");
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
/*
@@ -214,7 +221,6 @@ uploadArchives {
214
221
}
215
222
}
216
223
217
- ext. forRelease = ! version. endsWith(" -SNAPSHOT" );
218
224
signing {
219
225
required { forRelease && gradle. taskGraph. hasTask(" uploadArchives" ) };
220
226
sign configurations. archives;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ targetCompatibility = JavaVersion.VERSION_1_7; // defaults to sourceCompatibilit
29
29
* List of dependencies
30
30
*/
31
31
dependencies {
32
- compile(group : " com.github.fge " , name : " btf" , version : " 1.2 " );
32
+ compile(group : " com.github.java-json-tools " , name : " btf" , version : " 1.3-SNAPSHOT " );
33
33
compile(group : " com.google.code.findbugs" , name : " jsr305" ,
34
34
version : " 2.0.1" );
35
35
testCompile(group : " org.testng" , name : " testng" , version : " 6.8.7" ) {
You can’t perform that action at this time.
0 commit comments