1.0.0
Production Release
This commit is contained in:
commit
fcb6e756f7
38 files changed
+2388
No files matched your search
@@ -0,0 +1,47 @@
|
||||
plugins {
|
||||
java
|
||||
|
||||
id("io.papermc.paperweight.userdev") version "2.0.0-beta.21"
|
||||
}
|
||||
|
||||
group = "com.rsscripting"
|
||||
version = "1.0.0"
|
||||
val pluginVersion = version.toString()
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
// Paper API + NMS
|
||||
paperweight.paperDevBundle("1.21.11-R0.1-SNAPSHOT")
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
|
||||
}
|
||||
|
||||
tasks {
|
||||
compileJava {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
processResources {
|
||||
filteringCharset = "UTF-8"
|
||||
|
||||
val props = mapOf(
|
||||
"version" to pluginVersion
|
||||
)
|
||||
|
||||
inputs.properties(props)
|
||||
|
||||
filesMatching("plugin.yml") {
|
||||
expand(props)
|
||||
}
|
||||
}
|
||||
|
||||
assemble {
|
||||
dependsOn(reobfJar)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user