MicroUtils/mppJavaProject.gradle

40 lines
796 B
Groovy
Raw Normal View History

2020-09-15 12:57:41 +00:00
project.version = "$version"
project.group = "$group"
2020-09-27 14:25:42 +00:00
apply from: "$publishGradlePath"
2020-09-15 12:57:41 +00:00
kotlin {
2021-11-09 08:03:51 +00:00
jvm {
compilations.main {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
2020-09-15 12:57:41 +00:00
sourceSets {
commonMain {
dependencies {
implementation kotlin('stdlib')
}
}
commonTest {
dependencies {
implementation kotlin('test-common')
implementation kotlin('test-annotations-common')
}
}
jvmTest {
dependencies {
implementation kotlin('test-junit')
}
}
}
}
java {
2021-11-09 08:03:51 +00:00
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}