-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
35 lines (33 loc) · 1.36 KB
/
build.gradle
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
30
31
32
33
34
35
buildscript {
if (new File("${rootProject.rootDir}", "local.properties").exists()) {
Properties localProp = new Properties()
localProp.load(project.rootProject.file('local.properties').newDataInputStream())
rootProject.ext {
bintray_user = localProp.get("bintray.user")
bintray_apikey = localProp.get("bintray.apikey")
bintray_repo = localProp.get("bintray.repo")
bintray_name = localProp.get("bintray.name")
bintray_userOrg = localProp.get("bintray.userOrg")
bintray_vcsUrl = localProp.get("bintray.vcsUrl")
bintray_gpgPassword = localProp.get("bintray.gpg.password")
bintray_developerId = localProp.get("developer_id")
bintray_developerName = localProp.get("developer_name")
bintray_developerEmail = localProp.get("developer_email")
oss_user = localProp.get("oss_user")
oss_password = localProp.get("oss_password")
}
}
repositories {
jcenter()
}
configurations.classpath {
resolutionStrategy {
cacheDynamicVersionsFor 0, 'seconds'
cacheChangingModulesFor 0, 'seconds'
}
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:3.1.1"
}
}