Fixed import of package prefix in non-MPP projects

#KT-33038 Fixed
This commit is contained in:
Andrey Uskov
2019-07-30 14:32:58 +03:00
parent eedebcfe4c
commit a6f50c71bd
9 changed files with 97 additions and 2 deletions
@@ -0,0 +1,28 @@
buildscript {
repositories {
mavenCentral()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
}
dependencies {
apply from: "include.gradle"
def kotlinVersion = gradleKotlinPluginVersion('1.3.20')
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
}
}
apply plugin: 'kotlin'
repositories {
mavenCentral()
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
}
compileKotlin {
javaPackagePrefix = "package.prefix.main"
}
compileTestKotlin {
javaPackagePrefix = "package.prefix.test"
}