Replace Paper pack bridge with server-only NeoForge resource-pack core
This commit is contained in:
+14
-6
@@ -1,19 +1,27 @@
|
||||
plugins { java }
|
||||
plugins {
|
||||
java
|
||||
id("net.neoforged.moddev") version "2.0.146"
|
||||
}
|
||||
group = "online.astradev"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://repo.papermc.io/repository/maven-public/")
|
||||
}
|
||||
dependencies {
|
||||
compileOnly("io.papermc.paper:paper-api:26.2.build.121-stable")
|
||||
testImplementation("com.google.code.gson:gson:2.14.0")
|
||||
testImplementation("io.netty:netty-codec-http:4.2.15.Final")
|
||||
testImplementation("io.netty:netty-handler:4.2.15.Final")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.11.4")
|
||||
}
|
||||
neoForge {
|
||||
version = "26.2.0.79"
|
||||
mods { create("astrapacks") { sourceSet(sourceSets.main.get()) } }
|
||||
}
|
||||
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) }
|
||||
inputs.property("modVersion", project.version)
|
||||
filesMatching("META-INF/neoforge.mods.toml") { expand("version" to project.version) }
|
||||
}
|
||||
tasks.test { useJUnitPlatform() }
|
||||
|
||||
Reference in New Issue
Block a user