Avoid duplicate archive scans and repeated sync marker writes

This commit is contained in:
2026-09-05 16:47:40 +03:00
parent 0ad9109ea0
commit bc1dc768f3
4 changed files with 579 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
plugins { java }
group = "online.astradev"
version = "0.1.0"
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
compileOnly("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(25)) }
tasks.withType<JavaCompile>().configureEach { options.encoding = "UTF-8"; options.release.set(25) }
tasks.processResources {
inputs.property("pluginVersion", project.version)
filesMatching("plugin.yml") { expand("version" to project.version) }
}
tasks.test { useJUnitPlatform() }