Jump to content

[Solved] Is it possible to use JitPack with ForgeGradle?


Recommended Posts

I've added jitpack.io to my build.gradle repositories, like so:

buildscript {
    repositories {
        maven { url = 'https://files.minecraftforge.net/maven' }
        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 by BlockyPenguin

Today (22/10/20) I reached 100 posts!

I'm probably more excited than I should be for something so realistically minor...

Link to comment
Share on other sites

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.