mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-25 13:03:35 +08:00
[gradle] Suppress deprecation on compileKotlinTask
since we still need to support older Kotlin versions
This commit is contained in:
parent
f0bdd18d26
commit
cd18eb857d
@ -153,6 +153,7 @@ public class MiraiConsoleGradlePlugin : Plugin<Project> {
|
||||
val compilations = target.compilations.filter { it.name == MAIN_COMPILATION_NAME }
|
||||
|
||||
compilations.forEach {
|
||||
@Suppress("DEPRECATION") // We need to support older Kotlin versions
|
||||
dependsOn(it.compileKotlinTask)
|
||||
from(it.output.allOutputs)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user