-
Notifications
You must be signed in to change notification settings - Fork 13
/
Build.kt
41 lines (32 loc) · 981 Bytes
/
Build.kt
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
import com.beust.kobalt.*
import com.beust.kobalt.plugin.packaging.assemble
import com.beust.kobalt.plugin.kotlin.*
import com.beust.kobalt.plugin.android.*
val r = repos(file("/Users/beust/adt-bundle-mac-x86_64-20140702/sdk/extras/android/m2repository"))
val p = kotlinProject {
name = "kotlin-android-example"
group = "com.beust"
artifactId = name
version = "0.1"
sourceDirectories {
path("app/src/main/kotlin")
path("app/src/main/resources")
}
dependencies {
compile("com.android.support:appcompat-v7:aar:22.2.1",
"com.google.code.gson:gson:2.4",
"com.squareup.retrofit:retrofit:1.9.0",
"io.reactivex:rxandroid:0.24.0"
)
}
dependenciesTest {
// compile("org.testng:testng:6.9.5")
}
assemble {
jar {
}
}
android {
applicationId = "com.beust.example"
}
}