Add test for 'isHMPP' flag
This commit is contained in:
+56
@@ -0,0 +1,56 @@
|
||||
plugins {
|
||||
// TODO parametrization
|
||||
kotlin("multiplatform").version("1.3.40-dev-1840")
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven("https://kotlin.bintray.com/kotlin-dev")
|
||||
jcenter()
|
||||
}
|
||||
|
||||
group = "project"
|
||||
version = "1.0"
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
js()
|
||||
linuxX64()
|
||||
|
||||
sourceSets {
|
||||
val commonMain by getting {
|
||||
}
|
||||
|
||||
val commonTest by getting {
|
||||
}
|
||||
|
||||
val jvmAndJsMain by creating {
|
||||
}
|
||||
|
||||
val jvmAndJsTest by creating {
|
||||
}
|
||||
|
||||
val linuxAndJsMain by creating {
|
||||
}
|
||||
|
||||
val linuxAndJsTest by creating {
|
||||
}
|
||||
|
||||
jvm().compilations["main"].defaultSourceSet {
|
||||
}
|
||||
|
||||
jvm().compilations["test"].defaultSourceSet {
|
||||
}
|
||||
|
||||
js().compilations["main"].defaultSourceSet {
|
||||
}
|
||||
|
||||
js().compilations["test"].defaultSourceSet {
|
||||
}
|
||||
|
||||
linuxX64().compilations["main"].defaultSourceSet {
|
||||
}
|
||||
|
||||
linuxX64().compilations["test"].defaultSourceSet {
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
kotlin.mpp.enableGranularSourceSetsMetadata=true
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-dev")
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = "my-app"
|
||||
|
||||
enableFeaturePreview("GRADLE_METADATA")
|
||||
Reference in New Issue
Block a user