Posted January 6, 20214 yr I've added jitpack.io to my build.gradle repositories, like so: buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } jcenter() mavenCentral() maven { url 'https://jitpack.io' } } dependencies { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true } } and I've added a mod to my dependecies: dependencies { minecraft 'net.minecraftforge:forge:1.16.4-35.1.4' compile fg.deobf('com.github.ThatBlockyPenguin:LabKore:v1.0.0-SNAPSHOT') } However, it only seems to check files.minecraftforge.net/maven/, as this came up in the log: Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.ThatBlockyPenguin:LabKore:v1.0.0-SNAPSHOT. Searched in the following locations: - https://files.minecraftforge.net/maven/com/github/ThatBlockyPenguin/LabKore/v1.0.0-SNAPSHOT/maven-metadata.xml - https://files.minecraftforge.net/maven/com/github/ThatBlockyPenguin/LabKore/v1.0.0-SNAPSHOT/LabKore-v1.0.0-SNAPSHOT.pom - https://files.minecraftforge.net/maven/com/github/ThatBlockyPenguin/LabKore/v1.0.0-SNAPSHOT/LabKore-v1.0.0-SNAPSHOT.jar How do I fix this? Thanks, ~BlockyPenguin Edited January 6, 20214 yr by BlockyPenguin Today (22/10/20) I reached 100 posts! I'm probably more excited than I should be for something so realistically minor...
January 6, 20214 yr https://docs.gradle.org/current/userguide/plugins.html#sec:old_plugin_application you add it the the buildscript repositories but you need to add your maven the the normal repositories https://docs.gradle.org/current/userguide/declaring_repositories.html
January 6, 20214 yr Author aha! thank you! Today (22/10/20) I reached 100 posts! I'm probably more excited than I should be for something so realistically minor...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.