Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
51 lines (41 loc) · 1.41 KB
/
Copy pathbuild.gradle
File metadata and controls
51 lines (41 loc) · 1.41 KB
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
51
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.novoda:bintray-release:0.3.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
/**
* Prevents sporadic compilation error: 'Bad service configuration file, or exception thrown while constructing
* Processor object: javax.annotation.processing.Processor: Error reading configuration file'
*
* See https://discuss.gradle.org/t/gradle-not-compiles-with-solder-tooling-jar/7583/20
*/
tasks.withType(JavaCompile) { options.fork = true }
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
minSdkVersion = 7
targetSdkVersion = 23
compileSdkVersion = 23
buildToolsVersion = '23.0.2'
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
versionCode = 1
versionName = '0.9.5'
supportLibVersion = '23.3.0'
playLibVersion = '8.4.0'
}
//$ ./gradlew clean build bintrayUpload -PbintrayUser=thefinestartist -PbintrayKey=BINTRAY_KEY -PdryRun=false