API
SirEndii opened this issue ยท 4 comments
#85 Useful information to include:
- Minecraft version: 1.16.4
- CC: Tweaked version: 1.94.0
repositories {
maven { url 'https://squiddev.cc/maven/' }
}
dependencies {
implementation fg.deobf("org.squiddev:cc-tweaked-${mc_version}:${cct_version}")
}
Hey, i want to use cc:tweaked in my mod, but implementation and fg.deobf does not seem to work. I don't know much about gradle yet, it would be nice if someone could help me.
Can you post your full build.gradle file please? This should work fine if you're using ForgeGradle.
Thanks for the fast answer, here is my build.gradle file
Oh, you don't want either of those in the buildscript
block. That controls how the build.gradle
file itself is compiled, not your src/main/java
.
Both the repositories
and dependencies
bit (for CC:T, not ForgeGradle) should be in the body. See line 83 for the existing repositories
block.