-
Notifications
You must be signed in to change notification settings - Fork 274
Expand file tree
/
Copy pathbuild.gradle
More file actions
53 lines (42 loc) · 1.21 KB
/
Copy pathbuild.gradle
File metadata and controls
53 lines (42 loc) · 1.21 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
52
53
apply plugin: 'com.android.library'
group GROUP
version VERSION_NAME
android {
compileSdkVersion ANDROID_BUILD_SDK_VERSION as int
defaultConfig {
minSdkVersion 14
targetSdkVersion ANDROID_BUILD_TARGET_SDK_VERSION as int
versionCode 1
versionName VERSION_NAME
consumerProguardFiles 'proguard-rules.txt'
}
buildTypes {
release {
}
debug {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
disable 'IconMissingDensityFolder'
disable 'UnusedResources'
disable 'NewApi'
checkReleaseBuilds true
htmlReport true
xmlReport false
textOutput 'stdout'
textReport true
abortOnError true
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
provided 'com.android.support:support-annotations:24.1.1'
compile 'com.android.support:appcompat-v7:24.1.1'
}
apply from: rootProject.file('checkstyle.gradle')
apply from: 'https://raw.githubusercontent.com/sephiroth74/gradle-mvn-push/master/gradle-mvn-push.gradle'
uploadArchives.dependsOn 'check'