summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-04-16 13:49:04 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-04-16 13:56:33 +0200
commitbe945890538f6a515b82959cb5ab210eb798709f (patch)
tree797435a9129d041bfd61a58c0c4a0dd36a4f12b0 /library
parent037b9759d03cde6d457cbeb8ecbe0ecf37b099da (diff)
downloadakono-be945890538f6a515b82959cb5ab210eb798709f.tar.gz
akono-be945890538f6a515b82959cb5ab210eb798709f.tar.bz2
akono-be945890538f6a515b82959cb5ab210eb798709f.zip
AndroidStudio files
Diffstat (limited to 'library')
-rw-r--r--library/build.gradle.kts24
1 files changed, 14 insertions, 10 deletions
diff --git a/library/build.gradle.kts b/library/build.gradle.kts
index 0f683dc0..f7110ba1 100644
--- a/library/build.gradle.kts
+++ b/library/build.gradle.kts
@@ -17,8 +17,8 @@ android {
testApplicationId = "akono.test"
ndk {
- // Tells Gradle to build outputs for the following ABIs and package
- // them into your APK.
+ // Tells Gradle to build outputs for the following ABIs and package
+ // them into your APK.
abiFilters("armeabi-v7a");
}
@@ -39,21 +39,25 @@ android {
}
}
- // Work around a bug in the android plugin.
- // Without this extra source set, test cases written in Kotlin are
- // compiled but not executed.
sourceSets {
- named("androidTest") {
- java.srcDir("src/androidTest/kotlin")
- }
- //jniLibs.srcDirs(FIXME)
+ // Work around a bug in the android plugin.
+ // Without this extra source set, test cases written in Kotlin are
+ // compiled but not executed.
+ named("androidTest") {
+ java.srcDir("src/androidTest/kotlin")
+ }
+ // Workaround for AndroidStudio
+ named("main") {
+ java.srcDir("src/main/kotlin")
+ }
+ // jniLibs.srcDirs(FIXME)
}
}
val kotlin_version: String by rootProject.extra
repositories {
- jcenter()
+ jcenter()
}
dependencies {