From 2636cad32dcbf75501e4f4a2118c7f279d198d10 Mon Sep 17 00:00:00 2001 From: Him188 Date: Fri, 16 Apr 2021 13:00:14 +0800 Subject: [PATCH] Fix build --- tools/gradle-plugin/src/main/kotlin/BuildMiraiPluginTask.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/gradle-plugin/src/main/kotlin/BuildMiraiPluginTask.kt b/tools/gradle-plugin/src/main/kotlin/BuildMiraiPluginTask.kt index c7ce5b512..4f2c86523 100644 --- a/tools/gradle-plugin/src/main/kotlin/BuildMiraiPluginTask.kt +++ b/tools/gradle-plugin/src/main/kotlin/BuildMiraiPluginTask.kt @@ -11,6 +11,7 @@ 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.jetbrains.kotlin.gradle.plugin.KotlinTarget import java.io.File import javax.inject.Inject @@ -22,6 +23,7 @@ public open class BuildMiraiPluginTask @Inject constructor( /** * ShadowJar 打包结果 */ + @get:Internal public val output: File get() = outputs.files.singleFile