mirror of
https://github.com/mamoe/mirai.git
synced 2026-08-22 14:13:32 +08:00
Add task cleanExceptIntellij
This commit is contained in:
@@ -136,6 +136,14 @@ subprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.register("cleanExceptIntellij") {
|
||||||
|
group = "build"
|
||||||
|
allprojects.forEach {
|
||||||
|
if (it.name != "mirai-console-intellij")
|
||||||
|
dependsOn(it.tasks.findByName("clean"))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fun Project.useIr() {
|
fun Project.useIr() {
|
||||||
kotlinCompilations?.forEach { kotlinCompilation ->
|
kotlinCompilations?.forEach { kotlinCompilation ->
|
||||||
kotlinCompilation.kotlinOptions.freeCompilerArgs += "-Xuse-ir"
|
kotlinCompilation.kotlinOptions.freeCompilerArgs += "-Xuse-ir"
|
||||||
|
|||||||
Reference in New Issue
Block a user