forked from java-diff-utils/java-diff-utils-jycr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
29 lines (26 loc) · 697 Bytes
/
build.gradle
File metadata and controls
29 lines (26 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.novoda:bintray-release:0.4.0' // clean build uploadLib -PdryRun=false
}
}
ext {
if (file("private.properties").exists()) {
Properties props = new Properties()
props.load(new FileInputStream(file("private.properties")))
BINTRAY_KEY = props.getProperty('BINTRAY_KEY')
} else {
BINTRAY_KEY = ""
}
}
task uploadLib {
dependsOn ':java-diff-utils-lib:bintrayUpload'
}
allprojects {
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url "http://repo.maven.apache.org/maven2" }
}
}