-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
50 lines (43 loc) · 1.54 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.5'
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:3.1.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
ext {
Properties properties = new Properties()
if (project.file('local.properties').exists()) {
properties.load(project.file('local.properties').newDataInputStream())
}
def nRelease = 'nexus.releases'
def nSnapshot = 'nexus.snapshots'
def nUserName = 'nexus.username'
def nPassword = 'nexus.password'
def bUser = 'bintray.user'
def bAPIKey = 'bintray.apikey'
nexusReleases = properties.getProperty(nRelease, "")
nexusSnapshots = properties.getProperty(nSnapshot, "")
nexusUserName = properties.getProperty(nUserName, "")
nexusPassword = properties.getProperty(nPassword, "")
bintrayUser = properties.getProperty(bUser, "")
bintrayAPIKey = properties.getProperty(bAPIKey, "")
}
allprojects {
repositories {
mavenLocal()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}