forked from plateaukao/AutoScreenOnOff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (41 loc) · 1.04 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.1'
}
}
apply plugin: 'com.android.application'
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
}
android {
compileSdkVersion 20
buildToolsVersion "21.1.2"
defaultConfig {
minSdkVersion 15
targetSdkVersion 20
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
instrumentTest.setRoot('PowerOffTest')
instrumentTest {
java.srcDirs = ['PowerOffTest/src']
res.srcDirs = ['PowerOffTest/res']
assets.srcDirs = ['PowerOffTest/assets']
resources.srcDirs = ['PowerOffTest/src']
}
}
lintOptions {
abortOnError false
}
}