Skip to content

Commit

Permalink
Add MappingGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
makamys committed Apr 30, 2023
1 parent 3ec1602 commit 67f1927
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addon.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ext.mappingGeneratorVersion = "0.1"
apply from: 'https://github.com/raw/LegacyModdingMC/MappingGenerator/master/extras/auto-patch-examplemod.gradle'
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ plugins {
id 'com.modrinth.minotaur' version '2.+' apply false
id 'com.matthewprenger.cursegradle' version '1.4.0' apply false
id 'com.gtnewhorizons.retrofuturagradle' version '1.2.4'
// MappingGenerator start
id 'io.github.legacymoddingmc.mappinggenerator' version '0.1'
// MappingGenerator end
}
boolean settingsupdated = verifySettingsGradle()
settingsupdated = verifyGitAttributes() || settingsupdated
Expand Down
14 changes: 14 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ pluginManagement {
mavenCentral()
mavenLocal()
}

// MappingGenerator start
resolutionStrategy {
eachPlugin {
if(requested.id.toString() == "io.github.legacymoddingmc.mappinggenerator")
useModule("com.github.legacymoddingmc:mappinggenerator:" + requested.version)
}
}
repositories {
maven{
url = "https://jitpack.io"
}
}
// MappingGenerator end
}

plugins {
Expand Down

0 comments on commit 67f1927

Please sign in to comment.