Build: support local.properties for JPS build. Apply JPS related tweaks only inside IDEA import.
This commit is contained in:
@@ -26,7 +26,7 @@ sourceSets {
|
||||
test {
|
||||
kotlin {
|
||||
srcDir 'test'
|
||||
if(!System.properties.'idea.active') {
|
||||
if(!BuildPropertiesKt.getKotlinBuildProperties(project).inIdeaSync) {
|
||||
srcDir '../jvm/test'
|
||||
srcDir '../common/test'
|
||||
srcDir '../test'
|
||||
|
||||
@@ -28,7 +28,7 @@ sourceSets {
|
||||
test {
|
||||
kotlin {
|
||||
srcDir 'test'
|
||||
if(!System.properties.'idea.active') {
|
||||
if(!BuildPropertiesKt.getKotlinBuildProperties(project).inIdeaSync) {
|
||||
srcDir '../jvm/test'
|
||||
srcDir '../common/test'
|
||||
srcDir '../test'
|
||||
|
||||
@@ -51,7 +51,7 @@ sourceSets {
|
||||
}
|
||||
|
||||
experimental {
|
||||
if(!System.properties.'idea.active')
|
||||
if(!BuildPropertiesKt.getKotlinBuildProperties(project).inIdeaSync)
|
||||
kotlin {
|
||||
srcDir experimentalSrcDir
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ sourceSets {
|
||||
}
|
||||
coroutinesExperimentalMigrationTest {
|
||||
kotlin {
|
||||
if(!System.properties.'idea.active') {
|
||||
if(!BuildPropertiesKt.getKotlinBuildProperties(project).inIdeaSync) {
|
||||
srcDir '../coroutines-experimental/jvm/test'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user