diff --git a/core/build.gradle b/core/build.gradle index b94d60c..69deb33 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -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() } diff --git a/core/src/main/resources/fabric.mod.json b/core/src/main/resources/fabric.mod.json new file mode 100644 index 0000000..c85094b --- /dev/null +++ b/core/src/main/resources/fabric.mod.json @@ -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": "*" +}