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/*
@@ -214,7 +221,6 @@ uploadArchives {
214221 }
215222}
216223
217- ext. forRelease = ! version. endsWith(" -SNAPSHOT" );
218224signing {
219225 required { forRelease && gradle. taskGraph. hasTask(" uploadArchives" ) };
220226 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
2929 * List of dependencies
3030 */
3131dependencies {
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 " );
3333 compile(group : " com.google.code.findbugs" , name : " jsr305" ,
3434 version : " 2.0.1" );
3535 testCompile(group : " org.testng" , name : " testng" , version : " 6.8.7" ) {
You can’t perform that action at this time.
0 commit comments