diff --git a/tools/gradle-plugin/src/BuildMiraiPluginTask.kt b/tools/gradle-plugin/src/BuildMiraiPluginTask.kt index 4f804a723..9241be641 100644 --- a/tools/gradle-plugin/src/BuildMiraiPluginTask.kt +++ b/tools/gradle-plugin/src/BuildMiraiPluginTask.kt @@ -11,15 +11,13 @@ package net.mamoe.mirai.console.gradle import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar import org.gradle.api.tasks.CacheableTask -import org.gradle.api.tasks.Internal import org.gradle.api.tasks.OutputFile import org.jetbrains.kotlin.gradle.plugin.KotlinTarget import java.io.File @CacheableTask public open class BuildMiraiPluginTask( - @field:Internal - internal val target: KotlinTarget + @JvmField internal val target: KotlinTarget ) : ShadowJar() { /** * ShadowJar 打包结果