mirror of
https://github.com/chylex/Better-Controls.git
synced 2025-04-21 06:15:46 +02:00
Update build.gradle and metadata files
This commit is contained in:
parent
0aed6282b4
commit
0814ddaedf
@ -4,7 +4,7 @@ val fabricVersion: String by project
|
||||
|
||||
plugins {
|
||||
idea
|
||||
id("fabric-loom") version "0.9-SNAPSHOT"
|
||||
id("fabric-loom") version "0.10-SNAPSHOT"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"id": "bettercontrols",
|
||||
"id": "${id}",
|
||||
"name": "${name}",
|
||||
"description": "${description}",
|
||||
"version": "${version}",
|
||||
@ -24,7 +24,7 @@
|
||||
},
|
||||
|
||||
"mixins": [{
|
||||
"config": "bettercontrols.mixins.json",
|
||||
"config": "${id}.mixins.json",
|
||||
"environment": "client"
|
||||
}],
|
||||
|
||||
|
@ -6,20 +6,20 @@ license = "${license}"
|
||||
issueTrackerURL = "${issuesURL}"
|
||||
|
||||
[[mods]]
|
||||
modId = "bettercontrols"
|
||||
modId = "${id}"
|
||||
version = "${version}"
|
||||
displayName = "${name}"
|
||||
description = "${description}"
|
||||
logoFile = "icon.png"
|
||||
|
||||
[[dependencies.bettercontrols]]
|
||||
[[dependencies.${id}]]
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "[1.17.1,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
[[dependencies.bettercontrols]]
|
||||
[[dependencies.${id}]]
|
||||
modId = "forge"
|
||||
mandatory = true
|
||||
versionRange = "[37,)"
|
||||
|
@ -33,6 +33,7 @@ idea {
|
||||
module {
|
||||
excludeDirs.add(file("gradle"))
|
||||
excludeDirs.add(file("run"))
|
||||
excludeDirs.add(file("Fabric/run"))
|
||||
|
||||
if (findProject(":Forge") == null) {
|
||||
excludeDirs.add(file("Forge"))
|
||||
@ -101,8 +102,7 @@ subprojects {
|
||||
}
|
||||
|
||||
tasks.processResources {
|
||||
from(rootProject.sourceSets.main.get().resources)
|
||||
|
||||
inputs.property("id", modId)
|
||||
inputs.property("name", modName)
|
||||
inputs.property("description", modDescription)
|
||||
inputs.property("version", modVersion)
|
||||
@ -110,6 +110,10 @@ subprojects {
|
||||
inputs.property("license", modLicense)
|
||||
inputs.property("sourcesURL", modSourcesURL)
|
||||
inputs.property("issuesURL", modIssuesURL)
|
||||
|
||||
from(rootProject.sourceSets.main.get().resources) {
|
||||
expand(inputs.properties)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.jar {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"pack": {
|
||||
"description": "Better Controls",
|
||||
"description": "${name}",
|
||||
"pack_format": 7,
|
||||
"_comment": ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user