This commit is contained in:
parent
714a3ca0fb
commit
f6763449f1
2 changed files with 26 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
import groovy.json.JsonGenerator.Options
|
||||
|
||||
plugins {
|
||||
`java-library`
|
||||
`maven-publish`
|
||||
|
@ -7,9 +9,10 @@ plugins {
|
|||
}
|
||||
|
||||
group = "me.unurled"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
|
||||
val mcVersion = "1.21.1-R0.1-SNAPSHOT"
|
||||
val lampVersion = "4.0.0-beta.17"
|
||||
|
||||
val javaVersion = 21
|
||||
|
||||
|
@ -19,6 +22,10 @@ repositories {
|
|||
|
||||
dependencies {
|
||||
paperweight.paperDevBundle(mcVersion)
|
||||
implementation("io.github.revxrsal:lamp.common:${lampVersion}")
|
||||
implementation("io.github.revxrsal:lamp.bukkit:${lampVersion}")
|
||||
implementation("io.github.revxrsal:lamp.brigadier:${lampVersion}")
|
||||
implementation("io.github.revxrsal:lamp.paper:${lampVersion}")
|
||||
}
|
||||
|
||||
java {
|
||||
|
@ -39,6 +46,8 @@ tasks {
|
|||
compileJava {
|
||||
options.encoding = Charsets.UTF_8.name()
|
||||
|
||||
options.compilerArgs.add("-parameters")
|
||||
|
||||
if (javaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
|
||||
options.release.set(javaVersion)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue