Skip to content

Instantly share code, notes, and snippets.

@wongk
Created November 1, 2019 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wongk/d094aa707168730ad02f7c21ee559923 to your computer and use it in GitHub Desktop.
Save wongk/d094aa707168730ad02f7c21ee559923 to your computer and use it in GitHub Desktop.
Blog - android target - android block
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