diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-05-03 19:29:37 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-05-03 19:29:37 +0800 |
| commit | 6c1df6bddb1ff6537e9490ba828f35d40ff5903a (patch) | |
| tree | e142ee0a1adb11a10e54669bae6c271a13672d1d | |
| parent | c75c837050ed6ef9cd5f6d29718e785def4ce411 (diff) | |
| download | RoughlyEnoughItems-6c1df6bddb1ff6537e9490ba828f35d40ff5903a.tar.gz RoughlyEnoughItems-6c1df6bddb1ff6537e9490ba828f35d40ff5903a.tar.bz2 RoughlyEnoughItems-6c1df6bddb1ff6537e9490ba828f35d40ff5903a.zip | |
modApi cloth config
Signed-off-by: shedaniel <daniel@shedaniel.me>
| -rwxr-xr-x | build.gradle | 3 | ||||
| -rw-r--r-- | gradle.properties | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 20b4ab8dc..0caa37c2a 100755 --- a/build.gradle +++ b/build.gradle @@ -55,7 +55,7 @@ dependencies { modApi("me.shedaniel.cloth:cloth-events:${cloth_events_version}") { transitive = false } - modImplementation("me.shedaniel.cloth:config-2:${cloth_config_version}") { + modApi("me.shedaniel.cloth:config-2:${cloth_config_version}") { exclude module: "fabric-api" } modApi("me.sargunvohra.mcmods:autoconfig1u:${project.autoconfig1u}") { @@ -73,6 +73,7 @@ dependencies { def listAdded = new ArrayList(Arrays.asList((api_exculde as String).split(','))) def eachDep = { dep -> for (apiIncludeDepStr in (api_include as String).split(',')) { + if (apiIncludeDepStr.isEmpty()) continue def apiIncludeGroup = apiIncludeDepStr.split(':')[0] def apiIncludeDep = apiIncludeDepStr.split(':')[1] if (dep.module.id.group == apiIncludeGroup && dep.module.id.name.startsWith(apiIncludeDep)) { diff --git a/gradle.properties b/gradle.properties index 284b4e28f..76aa7adf0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -mod_version=4.3.1-unstable +mod_version=4.3.2-unstable supported_version=20w18a minecraft_version=20w18a yarn_version=20w18a+build.1 |
