소스 검색

modApi cloth config

Signed-off-by: shedaniel <daniel@shedaniel.me>
shedaniel 5 년 전
부모
커밋
8df8f837bd
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      build.gradle
  2. 1 1
      gradle.properties

+ 2 - 1
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)) {

+ 1 - 1
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