-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
77 lines (56 loc) · 1.37 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
74
75
76
77
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath([
"com.android.tools.build:gradle:0.12.2",
"jp.leafytree.gradle:gradle-android-scala-plugin:1.0"
])
}
}
repositories {
mavenCentral()
mavenLocal()
maven { url "http://jcenter.bintray.com/" }
}
apply plugin: "com.android.application"
apply plugin: "android-scala"
android {
compileSdkVersion "android-20"
buildToolsVersion "20.0.0"
defaultConfig {
minSdkVersion 14
targetSdkVersion 20
versionCode 13
versionName "3.0.0-SNAPSHOT"
}
buildTypes {
debug {
runProguard true
proguardFile file("proguard-rules.txt")
}
release {
runProguard true
proguardFile file("proguard-rules.txt")
}
}
packagingOptions {
exclude "rootdoc.txt"
}
}
project.ext.scalaVersion = "2.11.2"
project.ext.scalaMajor = project.ext.scalaVersion.split("\\.")[0]+"."+project.ext.scalaVersion.split("\\.")[1]
dependencies {
compile([
"org.scala-lang:scala-library:$scalaVersion",
"org.scala-lang.modules:scala-xml_$scalaMajor:1.0.2",
"org.macroid:macroid_$scalaMajor:2.0.0-M3",
"com.android.support:support-v4:20.0.0",
"ch.acra:acra:4.5.0",
"org.scaloid:scaloid_$scalaMajor:3.4-10",
"org.ccil.cowan.tagsoup:tagsoup:1.2.1",
fileTree(dir: "libs", include: ["*.jar"])
])
}
task wrapper(type: Wrapper)