加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle.kts 2.02 KB
一键复制 编辑 原始数据 按行查看 历史
KunSs 提交于 2022-06-15 20:43 . update
plugins {
`java-library`
`maven-publish`
id("io.izzel.taboolib") version "1.40"
id("org.jetbrains.kotlin.jvm") version "1.5.10"
}
taboolib {
install("common")
install("common-5")
install("module-ai")
install("module-chat")
install("module-configuration")
install("module-database")
install("module-effect")
install("module-kether")
install("module-lang")
install("module-navigation")
install("module-navigation")
install("module-nms")
install("module-nms-util")
install("module-ui")
install("expansion-command-helper")
install("platform-bukkit")
classifier = null
version = "6.0.8-3"
description {
dependencies {
name("PlaceholderAPI").optional(true)
}
}
}
repositories {
mavenCentral()
}
dependencies {
compileOnly("ink.ptms:nms-all:1.0.0")
compileOnly("ink.ptms.core:v11800:11800-minimize:api")
compileOnly("ink.ptms.core:v11800:11800-minimize:mapped")
compileOnly("com.google.code.gson:gson:2.8.5")
compileOnly("com.google.guava:guava:21.0")
compileOnly(kotlin("stdlib"))
compileOnly(fileTree("libs"))
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
tasks.withType<Jar> {
destinationDir = file("F:/Server/Spigot 1.12.2 - 赏金测试/plugins")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
publishing {
repositories {
maven {
url = uri("https://repo.tabooproject.org/repository/releases")
credentials {
username = project.findProperty("taboolibUsername").toString()
password = project.findProperty("taboolibPassword").toString()
}
authentication {
create<BasicAuthentication>("basic")
}
}
}
publications {
create<MavenPublication>("library") {
from(components["java"])
groupId = project.group.toString()
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化