Forge Config API Port

Forge Config API Port

29M Downloads

[Bug]: Configured can't be resolved

Exopandora opened this issue ยท 2 comments

commented

Mod Loader (Required)

Fabric

Minecraft Version (Required)

1.19.2

Mod Version (Required)

4.2.7

Notes (Required)

When you define forgeconfigapiport as a dependency, it fails to resolve configured. I think configured shouldn't be a dependecy for developers in the first place as its optional.

Error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':common'.
> Could not resolve all dependencies for configuration ':common:modImplementation'.
   > Could not find curse.maven:configured-fabric-667378:4010582.
     Searched in the following locations:
       - https://libraries.minecraft.net/curse/maven/configured-fabric-667378/4010582/configured-fabric-667378-4010582.pom
       - https://libraries.minecraft.net/curse/maven/configured-fabric-667378/4010582/configured-fabric-667378-4010582.jar
       - https://repo.maven.apache.org/maven2/curse/maven/configured-fabric-667378/4010582/configured-fabric-667378-4010582.pom
       - https://repo.spongepowered.org/repository/maven-public/curse/maven/configured-fabric-667378/4010582/configured-fabric-667378-4010582.pom
       - https://raw.githubusercontent.com/Fuzss/modresources/main/maven/curse/maven/configured-fabric-667378/4010582/configured-fabric-667378-4010582.pom
       - file:/path/to/project/.gradle/quilt-loom-cache/remapped_mods/curse/maven/configured-fabric-667378/4010582/configured-fabric-667378-4010582.pom
       - https://maven.fabricmc.net/curse/maven/configured-fabric-667378/4010582/configured-fabric-667378-4010582.pom
       - https://maven.quiltmc.org/repository/release/curse/maven/configured-fabric-667378/4010582/configured-fabric-667378-4010582.pom
       - file:/path/to/gradle/caches/quilt-loom/4010582/configured-fabric-667378.jar
       - file:/path/to/project/.gradle/quilt-loom-cache/4010582/configured-fabric-667378.jar
       - https://maven.quiltmc.org/repository/snapshot/curse/maven/configured-fabric-667378/4010582/configured-fabric-667378-4010582.pom
     Required by:
         project :common > net.minecraftforge:forgeconfigapiport-fabric:4.2.7

My build.gradle dependencies and repository definitions (fabric subproject):

dependencies {
	implementation (project(":common")) {
		transitive = false
	}
	
	minecraft "com.mojang:minecraft:${minecraft_version}"
	mappings loom.officialMojangMappings()
	
	modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
	modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_version}"
	modImplementation "net.minecraftforge:forgeconfigapiport-fabric:${forgeconfigapiport_version}"
}

repositories {
	maven {
		name = 'Terraformers'
		url = 'https://maven.terraformersmc.com/'
	}
	maven {
		url = 'https://cursemaven.com'
		content {
			includeGroup "curse.maven"
		}
	}
}

My build.gradle repository definitions (root subproject):

repositories {
	mavenCentral()

	maven {
		name = 'Sponge'
		url = 'https://repo.spongepowered.org/repository/maven-public/'
	}
	maven {
		name = "Fuzs Mod Resources"
		url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/"
	}
}

settings.gradle:

pluginManagement {
	repositories {
		gradlePluginPortal()
		maven {
			name = 'Fabric'
			url = 'https://maven.fabricmc.net/'
		}
		maven {
			name = 'Sponge'
			url = 'https://repo.spongepowered.org/repository/maven-public/'
		}
		maven {
			name = 'Quilt (Release)'
			url = 'https://maven.quiltmc.org/repository/release'
		}
		maven {
			name = 'Quilt (Snapshot)'
			url = 'https://maven.quiltmc.org/repository/snapshot'
		}
		maven {
			name = 'QuiltFlower'
			url = 'https://server.bbkr.space/artifactory/libs-release/'
		}
	}
}

gradle.properties:

minecraft_version = 1.19.3
fabric_version = 0.68.1+1.19.2
fabric_loader_version = 0.14.11
forgeconfigapiport_version = 4.2.7

latest.log (Optional)

No response

commented

Fixed in v4.2.9, thank you!

commented

Thanks!