Fix MPP import tests

This commit is contained in:
Andrey Uskov
2019-09-29 22:57:23 +03:00
parent c0f2be478f
commit 6d9be0ab5d
9 changed files with 42 additions and 28 deletions
@@ -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'
@@ -0,0 +1,6 @@
apply plugin: 'kotlin-multiplatform'
kotlin {
targets { fromPreset(presets.jvm, 'jvm') }
}
@@ -0,0 +1,14 @@
apply plugin: 'kotlin-multiplatform'
kotlin {
targets { fromPreset(presets.jvm, 'jvm') }
sourceSets {
jvmMain {
dependencies {
implementation project(':library1')
}
}
}
}
@@ -11,6 +11,12 @@ buildscript {
}
}
repositories {
mavenCentral()
jcenter()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
}
apply plugin: 'kotlin-multiplatform'