fix: add fabric.mod.json to core for seamless Jar-in-Jar loading
This commit is contained in:
parent
0e13b00263
commit
e6efdf17b1
2 changed files with 25 additions and 0 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
17
core/src/main/resources/fabric.mod.json
Normal file
17
core/src/main/resources/fabric.mod.json
Normal 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": "*"
|
||||
}
|
||||
Reference in a new issue