mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Examples.
This commit is contained in:
parent
f02ac11fdc
commit
79c8669b09
1 changed files with 27 additions and 0 deletions
27
examples/intro_android_demo/Build.kt
Normal file
27
examples/intro_android_demo/Build.kt
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
import com.beust.kobalt.*
|
||||||
|
import com.beust.kobalt.plugin.android.*
|
||||||
|
import com.beust.kobalt.plugin.java.*
|
||||||
|
|
||||||
|
val r = repos(file("d:\\android\\adt-bundle-windows-x86_64-20140321\\sdk\\extras\\android\\m2repository"))
|
||||||
|
|
||||||
|
val p = javaProject {
|
||||||
|
name = "intro_android_demo"
|
||||||
|
group = "com.example"
|
||||||
|
artifactId = name
|
||||||
|
version = "0.1"
|
||||||
|
directory = homeDir("android/intro_android_demo")
|
||||||
|
|
||||||
|
sourceDirectories {
|
||||||
|
listOf(path("app/src/main/java"))
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compile(file("app/libs/android-async-http-1.4.3.jar"),
|
||||||
|
"com.android.support:support-v4:aar:23.0.1")
|
||||||
|
}
|
||||||
|
|
||||||
|
android {
|
||||||
|
applicationId = name
|
||||||
|
buildToolsVersion = "21.1.3"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue