60 lines
1.4 KiB
Plaintext
60 lines
1.4 KiB
Plaintext
plugins {
|
|
`java-library`
|
|
`maven-publish`
|
|
id("io.izzel.taboolib") version "1.40"
|
|
id("org.jetbrains.kotlin.jvm") version "1.6.0"
|
|
}
|
|
|
|
taboolib {
|
|
install("common")
|
|
install("common-5")
|
|
install("module-database")
|
|
install("module-chat")
|
|
install("module-configuration")
|
|
install("expansion-player-database")
|
|
install("platform-bukkit")
|
|
classifier = null
|
|
version = "6.0.9-5"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("ink.ptms:nms-all:1.0.0")
|
|
compileOnly("ink.ptms.core:v11200:11200-minimize")
|
|
compileOnly(kotlin("stdlib"))
|
|
compileOnly(fileTree("libs"))
|
|
}
|
|
|
|
tasks.withType<JavaCompile> {
|
|
options.encoding = "UTF-8"
|
|
}
|
|
|
|
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()
|
|
}
|
|
}
|
|
} |