import io.izzel.taboolib.gradle.BUKKIT import io.izzel.taboolib.gradle.BUKKIT_ALL 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) } 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 { options.encoding = "UTF-8" } tasks.withType { kotlinOptions { jvmTarget = "1.8" freeCompilerArgs = listOf("-Xjvm-default=all") } } configure { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 }