MicroUtils/mppAndroidProject.gradle

33 lines
623 B
Groovy
Raw Normal View History

2020-11-09 16:49:06 +00:00
project.version = "$version"
project.group = "$group"
apply from: "$publishGradlePath"
kotlin {
2020-11-11 10:06:44 +00:00
android {
publishAllLibraryVariants()
}
2020-11-09 16:49:06 +00:00
sourceSets {
commonMain {
dependencies {
implementation kotlin('stdlib')
}
}
commonTest {
dependencies {
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
}
}
2020-11-10 08:32:50 +00:00
}
}
2020-11-09 16:49:06 +00:00
2020-11-10 09:43:15 +00:00
apply from: "$defaultAndroidSettingsPresetPath"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}