Flemmli97 / Flan

Fabric Landclaiming Mod
80 stars 34 forks source link

Error when build graddle project with Flan on Minecraft 1.20.2 #307

Closed KostarSf closed 1 month ago

KostarSf commented 1 month ago

Modloader

Fabric

Minecraft version

1.20.2

Modloader version

0.91.6+1.20.2

Mod version

1.20.2-1.9.0

Description

Can't build graddle project with Flan on Minecraft 1.20.2

Steps to reproduce

  1. Generate and download Minecraft 1.20.2 template from Fabric site
  2. //...
    repositories {
    maven {
        name = "Flemmli97"
        url "https://gitlab.com/api/v4/projects/21830712/packages/maven"
    }
    }
    //...
    dependencies {
    // ...
    modCompileOnly("io.github.flemmli97:flan:1.20.2-1.9.0:fabric-api") {
        transitive = false
    }
    }
  3. Run graddle configure

Mods that might affect the issue

No response

Logs

> Could not resolve all files for configuration ':modCompileOnly'.
   > Could not find io.github.flemmli97:flan:1.20.2-1.9.0.
     Searched in the following locations:
       - file:/C:/Users/kosta/repos/_mc4ep/essentials/.gradle/loom-cache/remapped_mods/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - file:/C:/Users/kosta/.gradle/caches/fabric-loom/minecraftMaven/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - file:/C:/Users/kosta/repos/_mc4ep/essentials/.gradle/loom-cache/minecraftMaven/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://maven.fabricmc.net/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://libraries.minecraft.net/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://libraries.minecraft.net/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0-fabric-api.jar
       - https://repo.maven.apache.org/maven2/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0-fabric-api.jar
       - https://repo.maven.apache.org/maven2/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://jitpack.io/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://maven.quiltmc.org/repository/release/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://maven.quiltmc.org/repository/snapshot/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://gitlab.com/api/v4/projects/21830712/packages/maven/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://maven.blamejared.com/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://maven.gegy.dev/releases/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://maven.ladysnake.org/releases/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://maven.shedaniel.me/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://maven.terraformersmc.com/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
       - https://masa.dy.fi/maven/io/github/flemmli97/flan/1.20.2-1.9.0/flan-1.20.2-1.9.0.pom
     Required by:
         project :
Flemmli97 commented 1 month ago

wrong dependency string. its io.github.flemmli97:flan:1.20.2-1.9.0-fabric-api