forked from JorgeCastilloPrz/AndroidFillableLoaders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
51 lines (42 loc) · 1.19 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
51
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
}
}
def isReleaseBuild() {
return version.contains("SNAPSHOT") == false
}
allprojects {
version = VERSION_NAME
group = GROUP
ext {
// Android config
androidCompileSdkVersion = 22
androidBuildToolsVersion = "22.0.1"
androidMinSdkVersion = 11
androidTargetSdkVersion = 22
androidApplicationId = 'com.github.jorgecastillo'
androidVersionCode = 4
androidVersionName = '1.03'
// Libraries
libAppCompat = 'com.android.support:appcompat-v7:22.2.0'
libSupport = 'com.android.support:support-v4:22.2.0'
libSupportDesign = 'com.android.support:design:22.2.1'
libViewInjection = 'com.jakewharton:butterknife:7.0.1'
}
repositories {
jcenter()
}
apply plugin: 'checkstyle'
task checkstyle(type: Checkstyle) {
configFile file("${project.rootDir}/config/checkstyle/checkstyle.xml")
source 'src'
include '**/*.java'
exclude '**/gen/**'
classpath = files()
}
}
apply plugin: 'android-reporting'