fix: add fabric.mod.json to core for seamless Jar-in-Jar loading

This commit is contained in:
katR 2026-09-19 22:01:44 +05:30
parent 0e13b00263
commit e6efdf17b1
2 changed files with 25 additions and 0 deletions

View file

@ -17,6 +17,14 @@ dependencies {
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
processResources {
inputs.property "version", project.version
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}
tasks.named('test') {
useJUnitPlatform()
}

View file

@ -0,0 +1,17 @@
{
"schemaVersion": 1,
"id": "jevplayer-core",
"version": "${version}",
"name": "JevPlayer Core",
"description": "Core decision engine and state models for JevPlayer",
"authors": [
"oiupoyt",
"TypeSafe AI"
],
"contact": {
"homepage": "https://github.com/oiupoyt/JevPlays",
"sources": "https://github.com/oiupoyt/JevPlays"
},
"license": "MIT",
"environment": "*"
}