Animania Cats & Dogs

Animania Cats & Dogs

454k Downloads

[BUG] CraftStudio Repo is wrong location in build.gradle . can not locate .

Tsoccerguy3 opened this issue ยท 3 comments

commented

gradlew build no longer compiles mod , because CraftStudio Repo , declared in build.gradle is non existent

Actual Behavior

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all dependencies for configuration ':compileClasspath'.

Could not download CraftStudio-dev.jar (com.leviathanstudio:CraftStudio:1.0.0.93-mc1.12-alpha)
Could not get resource 'http://maven.leviathan-studio.com/artifactory/leviathan/com/leviathanstudio/CraftStudio/1.0.0.93-mc1.12-alpha/CraftStudio-1.0.0.93-mc1.12-alpha-dev.jar'.
> Could not GET 'http://maven.leviathan-studio.com/artifactory/leviathan/com/leviathanstudio/CraftStudio/1.0.0.93-mc1.12-alpha/CraftStudio-1.0.0.93-mc1.12-alpha-dev.jar'.

Steps to Reproduce

compile Gradlew build

Version of Minecraft, version of Animania, Single Player or Server

1.12.2 from current git pull

Screenshots encouraged

commented
  • What went wrong:
    Could not resolve all dependencies for configuration ':compileClasspath'.

Could not resolve com.leviathanstudio:CraftStudio:1.0.0.93-mc1.12-alpha.
Required by:
com.animania:animaniamod:1.12.2-1.6.2
Could not resolve com.leviathanstudio:CraftStudio:1.0.0.93-mc1.12-alpha.
> Could not get resource 'http://maven.leviathan-studio.com/artifactory/leviathan/com/leviathanstudio/CraftStudio/1.0.0.93-mc1.12-alpha/CraftStudio-1.0.0.93-mc1.12-alpha.pom'.
> Could not GET 'http://maven.leviathan-studio.com/artifactory/leviathan/com/leviathanstudio/CraftStudio/1.0.0.93-mc1.12-alpha/CraftStudio-1.0.0.93-mc1.12-alpha.pom'.
> org.apache.http.client.ClientProtocolException (no error message)

commented

I would have thought you would have fixed the build.gradle by now
Format

repositories {
maven {
name = "leviathan"
url = "https://repo.leviathan-studio.com/leviathan/"
}
}

dependencies {
compile 'com.leviathanstudio:CraftStudio:[API-VERSION]-mc[MINECRAFT-VERSION][-beta]:dev'
}

the current location of the dependency is
https://repo.leviathan-studio.com/leviathan/com/leviathanstudio/CraftStudio/

dependencies current versions

CraftStudio-1.0.1.95-mc1.12-alpha-dev.jar 18-Jan-2019 19:18 139.66 KB
CraftStudio-1.0.1.95-mc1.12-alpha.jar 18-Jan-2019 19:18 88.34 KB
CraftStudio-1.0.1.95-mc1.12-alpha.pom 18-Jan-2019 19:18 427 bytes

commented

should be , also you should update mappings to stable_39 and Forge to current

repositories {
maven { //Maven for CraftStudioApi
name = "LeviathanStudio maven"
url = "https://repo.leviathan-studio.com/leviathan/"
}

and

dependencies {

compile 'com.leviathanstudio:CraftStudio:1.0.1.95-mc1.12-alpha:dev'
deobfCompile 'mcp.mobius.waila:Hwyla:1.8.22-B37_1.12'

deobfCompile 'mezz.jei:jei_1.12.2:4.8.0.119:api'
deobfCompile 'cofh:RedstoneFlux:1.12-2.1.0.6:deobf'
deobfCompile 'cofh:ThermalExpansion:1.12.2-5.5.2.39:deobf'
deobfCompile 'cofh:CoFHCore:1.12.2-4.6.1.22:deobf'
deobfCompile 'mcjty.theoneprobe:TheOneProbe-1.12:1.12-1.4.18-10'
//runtime 'mezz.jei:jei_1.12.2:4.8.0.119'

}