diff options
| author | Aizistral | 2023-01-02 23:01:18 +0100 |
|---|---|---|
| committer | Aizistral | 2023-01-02 23:01:18 +0100 |
| commit | 8cbf11042c18ee0983b9c8ea6194f81d766a9dd8 (patch) | |
| tree | 5258f73b5aaa1ee8f30da87ce89a499f82d5dbe3 /build.gradle | |
| parent | 5ab383f021154238b3e0432e61dace32b5292a2d (diff) | |
Deduplicate gradle properties
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 1b12015..754dd09 100644 --- a/build.gradle +++ b/build.gradle @@ -72,7 +72,7 @@ repositories { dependencies { minecraft "com.mojang:minecraft:${project.minecraft_version}" mappings loom.officialMojangMappings() - modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" + modImplementation "net.fabricmc:fabric-loader:${project.fabric_loader_version}" modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" modImplementation "com.terraformersmc:modmenu:${project.mod_menu_version}" modApi("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") { @@ -92,7 +92,24 @@ processResources { inputs.property "version", project.version filesMatching("fabric.mod.json") { - expand "version": project.version + expand 'mod_license': mod_license, + 'version': version, + 'mod_id' : mod_id, + 'mod_name': mod_name, + 'mod_url': mod_url, + 'mod_author': mod_author, + 'mod_icon': mod_icon, + 'mod_description': mod_description, + 'issue_tracker_url': issue_tracker_url, + 'contributor_0': contributor_0 + } + + from("${rootProject.projectDir}/docs") { + include 'changelog.html' + } + + from("${rootProject.projectDir}") { + include 'LICENSE' } } |
