Fixed dependency resolution of root project

#KT-28389 Fixed
This commit is contained in:
Andrey Uskov
2018-11-27 02:55:16 +03:00
parent 4abcd9a053
commit 620969652a
8 changed files with 109 additions and 4 deletions
@@ -0,0 +1,24 @@
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.10'
}
}
allprojects {
repositories {
mavenLocal()
jcenter()
}
}
apply plugin: 'kotlin-multiplatform'
kotlin {
targets {
fromPreset(presets.jvm, 'jvm')
}
}
@@ -0,0 +1 @@
include ':subproject'
@@ -0,0 +1,12 @@
apply plugin: 'kotlin-multiplatform'
kotlin {
targets {
fromPreset(presets.jvm, 'jvm')
}
}
dependencies {
commonMainApi rootProject
}