Created
November 1, 2019 19:07
-
-
Save wongk/d094aa707168730ad02f7c21ee559923 to your computer and use it in GitHub Desktop.
Blog - android target - android block
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
compileSdkVersion 28 | |
defaultConfig { | |
minSdkVersion 21 | |
targetSdkVersion 28 | |
versionCode 1 | |
versionName '0.1' | |
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner' | |
} | |
sourceSets { | |
main { | |
manifest.srcFile 'src/androidMain/AndroidManifest.xml' | |
java.srcDirs = ['src/androidMain/kotlin'] | |
res.srcDirs = ['src/androidMain/res'] | |
} | |
test { | |
java.srcDirs = ['src/androidTest/kotlin'] | |
res.srcDirs = ['src/androidTest/res'] | |
} | |
} | |
testOptions.unitTests.includeAndroidResources = true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment