-
Notifications
You must be signed in to change notification settings - Fork 224
/
Copy pathbuild.gradle
73 lines (65 loc) · 1.64 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
task wrapper(type: Wrapper) {
gradleVersion = '1.10'
}
buildscript {
repositories {
maven { url 'http://repo1.maven.org/maven2' }
}
dependencies {
classpath 'com.android.tools.build:gradle:0.9+'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.+'
}
}
apply plugin: 'android'
apply plugin: 'android-apt'
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:support-v4:19.+'
compile 'com.android.support:appcompat-v7:19.+'
apt 'com.googlecode.androidannotations:androidannotations:2.+'
compile 'com.googlecode.androidannotations:androidannotations-api:2.+'
}
apt {
arguments {
androidManifestFile variant.processResources.manifestFile
resourcePackageName 'org.gujavasc.opennetworking.androids'
// If you're using Android NBS flavors you should use the following line instead of hard-coded packageName
// resourcePackageName android.defaultConfig.packageName
// You can set optional annotation processing options here, like these commented options:
// logLevel 'INFO'
// logFile '/var/log/aa.log'
}
}
repositories {
maven { url 'http://repo1.maven.org/maven2' }
}
android {
compileSdkVersion 19
buildToolsVersion '19.0.3'
sourceSets {
main {
manifest {
srcFile 'AndroidManifest.xml'
}
res {
srcDir 'res'
}
}
androidTest {
java {
srcDir 'src/test/java'
}
}
}
defaultConfig {
minSdkVersion 7
targetSdkVersion 19
testPackageName 'org.gujavasc.opennetworking.androids'
testInstrumentationRunner 'android.test.InstrumentationTestRunner'
testHandleProfiling true
testFunctionalTest true
}
lintOptions {
abortOnError false
}
}