-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
56 lines (47 loc) · 1.28 KB
/
build.gradle
File metadata and controls
56 lines (47 loc) · 1.28 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
54
55
56
buildscript {
repositories {
mavenCentral()
// jcenter()
}
dependencies {
// Per http://mvnrepository.com/artifact/com.android.tools.build/gradle/
classpath 'com.android.tools.build:gradle:1.1+'
}
}
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation"
}
}
}
apply plugin: 'com.android.application'
repositories {
mavenCentral()
}
dependencies {
compile 'com.google.android:support-v4:r7'
compile 'net.sf.jwordnet:jwnl:1.4_rc3'
compile 'org.apache.opennlp:opennlp:1.5.3'
}
android {
// Per whatever version dir is found in: /path/to/adt-bundle-linux-x86_64/sdk/build-tools/
buildToolsVersion "22.0.1"
// Per whatever dirs are found in: /path/to/android-sdk-linux/platforms
compileSdkVersion 21 // 5.0
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('tests')
}
lintOptions {
abortOnError false
}
}