5 Star 24 Fork 15

Origin/OriginAttribute

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle.kts 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
AmazingOcean 提交于 2023-09-27 14:45 . fix
plugins {
java
id("io.izzel.taboolib") version "1.56"
id("org.jetbrains.kotlin.jvm") version "1.5.31"
}
taboolib {
install("common")
install("common-5")
install("platform-bukkit")
install("module-nms")
install("module-nms-util")
install("module-ui")
install("module-lang")
install("module-configuration")
install("module-metrics")
install("module-kether")
install("module-chat")
install("expansion-javascript")
install("expansion-command-helper")
classifier = null
version = "6.0.11-31"
description {
contributors {
name("AmazingOcean")
name("KunSs")
}
dependencies {
name("PlaceholderAPI").optional(true)
name("MythicMobs").optional(true)
name("Chemdah").optional(true)
name("GermPlugin").optional(true)
name("ProtocolLib").optional(true)
}
}
relocate("ink.ptms.um", "ac.github.oa.um")
}
repositories {
mavenCentral()
}
dependencies {
taboo("ink.ptms:um:1.0.0-beta-18")
compileOnly("ink.ptms:nms-all:1.0.0")
implementation("ink.ptms.core:v11701:11701:mapped")
implementation("ink.ptms.core:v11701:11701:universal")
compileOnly(kotlin("stdlib"))
compileOnly(fileTree("libs"))
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
tasks.withType<Jar> {
// destinationDir = file("F:/Server/purpur 1.18.2/plugins")
destinationDir = file("F:/Server/Spigot 1.12.2 - 赏金测试/plugins")
// destinationDir = file("F:/Server/spigot 1.17/plugins")
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf("-Xjvm-default=all")
}
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/amazing-ocean-origin/origin-attribute.git
[email protected]:amazing-ocean-origin/origin-attribute.git
amazing-ocean-origin
origin-attribute
OriginAttribute
master

搜索帮助