Last active
November 21, 2020 19:42
-
-
Save bnorm/4a831cdf246893e6b51a36fa8b3869a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks.named("compileKotlin") { dependsOn("syncSource") } | |
tasks.register<Sync>("syncSource") { | |
from(project(":kotlin-ir-plugin").sourceSets.main.get().allSource) | |
into("src/main/kotlin") | |
filter { | |
// Replace shadowed imports from plugin module | |
when (it) { | |
"import org.jetbrains.kotlin.com.intellij.mock.MockProject" -> "import com.intellij.mock.MockProject" | |
else -> it | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment