Add test for 'isHMPP' flag

This commit is contained in:
Andrey Uskov
2019-06-24 15:38:03 +03:00
parent e791b9d3f7
commit 90187c959e
7 changed files with 158 additions and 0 deletions
@@ -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 {
}
}
}
@@ -0,0 +1 @@
kotlin.mpp.enableGranularSourceSetsMetadata=true
@@ -0,0 +1,10 @@
pluginManagement {
repositories {
maven("https://dl.bintray.com/kotlin/kotlin-dev")
gradlePluginPortal()
}
}
rootProject.name = "my-app"
enableFeaturePreview("GRADLE_METADATA")