-
Notifications
You must be signed in to change notification settings - Fork 6
BME 119: Switch dependencies to use CurseMaven #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: mc-1.18.2-v0.8.0-overhaul
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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' | ||
| // } | ||
| } | ||
|
|
||
| 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}") | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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") | ||
|
|
@@ -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 { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
dudebehinddude marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| # 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
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
There was a problem hiding this comment.
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?