-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
46 lines (40 loc) · 1014 Bytes
/
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 'org.gradle.api.plugins:gradle-android-plugin:1.2.1'
}
}
apply plugin: 'android'
apply plugin: 'eclipse'
repositories {
mavenCentral()
mavenRepo(url: new File(System.properties['user.home'], '.m2/repository').toURI().toURL())
}
dependencies {
compile 'com.google.android:android:4.1.1.4'
compile 'com.google.android.maps:maps:16_r3'
compile 'com.google.guava:guava:13.0'
testCompile 'junit:junit:4.10'
testCompile 'com.pivotallabs:robolectric:1.1'
}
test {
afterTest { desc, result ->
println "Executing test ${desc.name} [${desc.className}] with result: ${result.resultType}"
}
}
eclipse {
classpath {
file {
whenMerged { classpath ->
classpath.entries.each {
def entry = it.toString()
if (!entry.contains('guava') && entry.startsWith('Library') && entry.contains('exported')) {
it.exported = false
}
}
}
}
}
}