fixes in gradle files

This commit is contained in:
InsanusMokrassar 2020-11-11 16:06:44 +06:00
parent 5ebf29d1fb
commit efcb25622e
3 changed files with 11 additions and 2 deletions

View File

@ -12,6 +12,9 @@ android {
release { release {
minifyEnabled false minifyEnabled false
} }
debug {
debuggable true
}
} }
packagingOptions { packagingOptions {
@ -28,4 +31,8 @@ android {
kotlinOptions { kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString() jvmTarget = JavaVersion.VERSION_1_8.toString()
} }
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
} }

View File

@ -4,7 +4,9 @@ project.group = "$group"
apply from: "$publishGradlePath" apply from: "$publishGradlePath"
kotlin { kotlin {
android {} android {
publishAllLibraryVariants()
}
sourceSets { sourceSets {
commonMain { commonMain {

View File

@ -10,7 +10,7 @@ kotlin {
nodejs() nodejs()
} }
android { android {
publishLibraryVariants("release") publishAllLibraryVariants()
} }
sourceSets { sourceSets {