33 lines
603 B
Groovy
33 lines
603 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'com.gradleup.shadow' version '8.3.6'
|
|
}
|
|
|
|
group = 'com.librewiki'
|
|
version = '1.0.0'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT'
|
|
compileOnly 'net.citizensnpcs:citizens-main:2.0.42-SNAPSHOT'
|
|
implementation 'org.xerial:sqlite-jdbc:3.49.1.0'
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.encoding = 'UTF-8'
|
|
options.release = 21
|
|
}
|
|
|
|
tasks.shadowJar {
|
|
archiveClassifier.set('')
|
|
}
|
|
|
|
tasks.build {
|
|
dependsOn tasks.shadowJar
|
|
}
|