From be945890538f6a515b82959cb5ab210eb798709f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 16 Apr 2019 13:49:04 +0200 Subject: AndroidStudio files --- library/build.gradle.kts | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'library/build.gradle.kts') 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 { -- cgit v1.2.3