[Build] Cleanup build.gradle.kts for :compiler module
This commit is contained in:
committed by
teamcity
parent
65e240679e
commit
169e80e8c9
@@ -1,4 +1,3 @@
|
|||||||
import org.jetbrains.kotlin.ideaExt.idea
|
|
||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
@@ -45,20 +44,11 @@ dependencies {
|
|||||||
antLauncherJar(toolsJar())
|
antLauncherJar(toolsJar())
|
||||||
}
|
}
|
||||||
|
|
||||||
val generationRoot = projectDir.resolve("tests-gen")
|
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
"main" {}
|
"main" {}
|
||||||
"test" {
|
"test" {
|
||||||
projectDefault()
|
projectDefault()
|
||||||
this.java.srcDir(generationRoot.name)
|
generatedTestDir()
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
|
||||||
apply(plugin = "idea")
|
|
||||||
idea {
|
|
||||||
this.module.generatedSourceDirs.add(generationRoot)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user