mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-27 17:00:14 +08:00
Add task cleanExceptIntellij
This commit is contained in:
parent
af72c4ec25
commit
14258b8212
@ -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() {
|
||||
kotlinCompilations?.forEach { kotlinCompilation ->
|
||||
kotlinCompilation.kotlinOptions.freeCompilerArgs += "-Xuse-ir"
|
||||
|
Loading…
Reference in New Issue
Block a user