Add four-ingredient cauldron soups with persistent brewing and stackable food
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
plugins { java }
|
||||
group = "online.astracraft"
|
||||
version = "0.1.0"
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = uri("https://repo.papermc.io/repository/maven-public/") }
|
||||
}
|
||||
dependencies {
|
||||
compileOnly("io.papermc.paper:paper-api:26.2.build.121-stable")
|
||||
testImplementation("io.papermc.paper:paper-api:26.2.build.121-stable")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.11.4")
|
||||
}
|
||||
java { toolchain.languageVersion.set(JavaLanguageVersion.of(26)) }
|
||||
tasks.withType<JavaCompile>().configureEach { options.encoding = "UTF-8"; options.release.set(25) }
|
||||
tasks.processResources { filesMatching("plugin.yml") { expand("version" to project.version) } }
|
||||
tasks.test { useJUnitPlatform() }
|
||||
val smoke = sourceSets.create("smoke") {
|
||||
java.srcDir("tools/smoke")
|
||||
resources.srcDir("tools/smoke-resources")
|
||||
compileClasspath += sourceSets.main.get().compileClasspath + sourceSets.main.get().output
|
||||
compileClasspath += files("../../26.2 Paper/versions/26.2/paper-26.2.jar")
|
||||
compileClasspath += fileTree("../../26.2 Paper/libraries") { include("**/*.jar") }
|
||||
}
|
||||
tasks.register<Jar>("smokeJar") { archiveFileName.set("SoupSmokeTest.jar"); from(smoke.output) }
|
||||
Reference in New Issue
Block a user