AdyBubbles/build.gradle.kts
BERADQ 03137e6115 大规模重构修改弹出机制,优化性能。
新的配置项目: rest-delay。
时间相关皆可设置随机时间。
优化游戏内聊天泡泡的编辑体验。
无破坏性修改。
2024-11-06 23:02:11 +08:00

59 lines
1.4 KiB
Plaintext

import io.izzel.taboolib.gradle.BUKKIT_ALL
import io.izzel.taboolib.gradle.NMS_UTIL
import io.izzel.taboolib.gradle.UNIVERSAL
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
java
id("io.izzel.taboolib") version "2.0.11"
id("org.jetbrains.kotlin.jvm") version "1.8.22"
}
taboolib {
env {
// 安装模块
install(UNIVERSAL, BUKKIT_ALL, NMS_UTIL)
}
description {
name("AdyBubbles")
desc("为Ady实体显示气泡")
contributors {
name("俗手")
}
dependencies {
name("Adyeshach")
}
load("POSTWORLD")
}
version { taboolib = "6.1.2-beta10" }
}
repositories {
mavenCentral()
maven { url = uri("https://repo.tabooproject.org/repository/releases/") }
}
dependencies {
compileOnly("ink.ptms.core:v12004:12004:mapped")
compileOnly("ink.ptms.core:v12004:12004:universal")
compileOnly(kotlin("stdlib"))
compileOnly(fileTree("libs"))
compileOnly("ink.ptms.adyeshach:all:2.0.0-snapshot-36")
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = listOf("-Xjvm-default=all")
}
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}