-
Notifications
You must be signed in to change notification settings - Fork 33
How to add Mine and Slash to your IDE
AzureDoom edited this page Apr 23, 2020
·
1 revision
In your mods build.gradle
, it recommended to use Wyn-Price's CurseMaven. To add it, simply just add the following to your build.gradle
:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.wynprice.cursemaven:CurseMaven:2.1.1"
}
}
apply plugin: "com.wynprice.cursemaven"
dependencies {
deobfCompile "curse.maven:MaS:2926647" // MaS is just an easy to remember name, 2926647 is the file ID of the version of the mod you want to download, this one being the latest 1.12.2 https://www.curseforge.com/minecraft/mc-mods/mine-and-slash-reloaded/files/2926647
}
Now simply run gradlew setupDecompWorkspace
to have it download the file and add it your project.
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.wynprice.cursemaven:CurseMaven:2.1.1"
}
}
apply plugin: "com.wynprice.cursemaven"
dependencies {
compile fg.deobf("curse.maven:MaS:2931966") // MaS is just an easy to remember name, 2931966 is the file ID of the version of the mod you want to download, this one being the latest 1.15.1 https://www.curseforge.com/minecraft/mc-mods/mine-and-slash-reloaded/files/2931966
}
Now simply run gradlew genYOURIDERuns
to have it download the file and add it your project.