repositories {
flatDir {
dirs 'libs'
}
}
dependencies {
// Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed
// that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied.
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
minecraft 'net.minecraftforge:forge:1.16.5-36.2.0'
implementation fg.deobf( 'libs:AdvancedCreation:1.16.5-beta1.2.2')
}
The above code worked for me in de build.gradle
The mod jar i am trying to create a dependency to is called: AdvancedCreation-1.16.5-beta1.2.2.jar