Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 26 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,39 @@ minecraft {
sourceSets.main.resources { srcDir 'src/generated/resources' }

repositories {
flatDir {
dirs 'libs'
maven {
url "https://cursemaven.com"
content {
includeGroup "curse.maven"
}
}

// flatDir {
// dirs 'libs'
// }
Comment on lines +71 to +73
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious: What's the reason for leaving behind this commented code? Is this just something that needs clean up, or are there times it should be uncommented for some debugging mode?

}

dependencies {
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"

compileOnly fg.deobf("_:rubidium:0.5.6")
// implementation fg.deobf("_:rubidium:0.5.6")
compileOnly "curse.maven:$rubidium_project_id:$rubidium_file_id"
// compileOnly fg.deobf("_:rubidium:0.5.6")
// implementation fg.deobf("_:rubidium:0.5.6")

// implementation fg.deobf("_:Patchouli:1.18.2-71.1")
// implementation fg.deobf("_:TerraFirmaCraft:Forge-1.18.2-2.1.11-beta")
// implementation fg.deobf("_:Cartography:1.18.2-0.4.0-alpha3")

implementation fg.deobf("curse.maven:$architectury_project_id:$architectury_file_id")
implementation fg.deobf("curse.maven:$ftbchunks_project_id:$ftbchunks_file_id")
implementation fg.deobf("curse.maven:$ftblib_project_id:$ftblib_file_id")
implementation fg.deobf("curse.maven:$ftbteams_project_id:$ftbteams_file_id")

// implementation fg.deobf("_:Patchouli:1.18.2-71.1")
// implementation fg.deobf("_:TerraFirmaCraft:Forge-1.18.2-2.1.11-beta")
// implementation fg.deobf("_:Cartography:1.18.2-0.4.0-alpha3")

implementation fg.deobf("_:ftb-chunks:${ftbchunks_version}")
implementation fg.deobf("_:ftb-teams:${ftbteams_version}")
implementation fg.deobf("_:ftb-library:$ftblib_version")
implementation fg.deobf("_:architectury:${architectury_version}")
// implementation fg.deobf("_:ftb-chunks:${ftbchunks_version}")
// implementation fg.deobf("_:ftb-teams:${ftbteams_version}")
// implementation fg.deobf("_:ftb-library:$ftblib_version")
// implementation fg.deobf("_:architectury:${architectury_version}")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these commented out lines need to go as well, since they now reference variables that don't exist and with curse maven these are also artifacts that cannot be found


// implementation fg.deobf("_:journeymap:1.20.1-5.10.0-forge")
// implementation fg.deobf("_:Xaeros_Minimap:24.2.0_Forge_1.20")
Expand Down Expand Up @@ -123,7 +137,7 @@ jar {
// This is the preferred method to reobfuscate your jar file
jar.finalizedBy('reobfJar')
// However if you are in a multi-project build, dev time needs unobfed jar files, so you can delay the obfuscation until publishing by doing
//publish.dependsOn('reobfJar')
// publish.dependsOn('reobfJar')

publishing {
publications {
Expand Down
16 changes: 15 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,18 @@ forge_version=40.2.17
ftbchunks_version=forge-1802.3.19-build.362
ftbteams_version=forge-1802.2.11-build.107
ftblib_version=forge-1802.3.11-build.177
architectury_version=4.12.94-forge
architectury_version=4.12.94-forge

# Curseforge File IDs
rubidium_file_id=4494903
architectury_file_id=5137931
ftbchunks_file_id=5423717
ftbteams_file_id=4579981
ftblib_file_id=4396792
Comment on lines +11 to +16
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you leave a comment at the end of each line stating which version number each file ID represents? Makes lookup easier when debugging, especially when somebody sends us a logfile showing a potential mod conflict.


# Curseforge Project IDs
rubidium_project_id=rubidium-574856
architectury_project_id=architectury-api-419699
ftbchunks_project_id=ftb-chunks-forge-314906
ftbteams_project_id=ftb-teams-forge-404468
ftblib_project_id=ftb-library-forge-404465