mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Fix build
This commit is contained in:
parent
b20d49f6ce
commit
2636cad32d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user