Fix MPP import tests
This commit is contained in:
-1
@@ -5,7 +5,6 @@ kotlin {
|
||||
fromPreset(presets.jvm, 'android')
|
||||
|
||||
fromPreset(presets.iosArm64, 'iOS') {
|
||||
compilations.main.outputKinds('FRAMEWORK')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -10,26 +10,6 @@ allprojects {
|
||||
}
|
||||
}
|
||||
|
||||
project('library1') {
|
||||
apply plugin: 'kotlin-multiplatform'
|
||||
|
||||
kotlin { targets { fromPreset(presets.jvm, 'jvm') } }
|
||||
}
|
||||
project('library2') {
|
||||
apply plugin: 'kotlin-multiplatform'
|
||||
|
||||
kotlin {
|
||||
targets { fromPreset(presets.jvm, 'jvm') }
|
||||
|
||||
sourceSets {
|
||||
jvmMain {
|
||||
dependencies {
|
||||
implementation project(':library1')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
project('java-project') {
|
||||
apply plugin: 'java'
|
||||
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
apply plugin: 'kotlin-multiplatform'
|
||||
|
||||
kotlin {
|
||||
targets { fromPreset(presets.jvm, 'jvm') }
|
||||
}
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
apply plugin: 'kotlin-multiplatform'
|
||||
|
||||
kotlin {
|
||||
targets { fromPreset(presets.jvm, 'jvm') }
|
||||
|
||||
sourceSets {
|
||||
jvmMain {
|
||||
dependencies {
|
||||
implementation project(':library1')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+6
@@ -11,6 +11,12 @@ buildscript {
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
|
||||
}
|
||||
|
||||
|
||||
apply plugin: 'kotlin-multiplatform'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user