0.0.1
All checks were successful
EnergonRelics/pipeline/head This commit looks good

Fix REI And ModMenu
This commit is contained in:
TheBrokenRail 2020-08-05 21:33:50 -04:00
parent 79306df187
commit 81d103052b

View File

@ -1,7 +1,7 @@
plugins {
id 'fabric-loom' version '0.5-SNAPSHOT'
id 'com.matthewprenger.cursegradle' version '1.4.0'
id 'maven-publish'
id "fabric-loom" version "0.5-SNAPSHOT"
id "com.matthewprenger.cursegradle" version "1.4.0"
id "maven-publish"
}
compileJava {
@ -18,8 +18,8 @@ loom {
repositories {
maven {
name = 'Earthcomputer Mods'
url = 'https://dl.bintray.com/earthcomputer/mods'
name = "Earthcomputer Mods"
url = "https://dl.bintray.com/earthcomputer/mods"
}
}
@ -30,10 +30,14 @@ dependencies {
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
modCompileOnly "io.github.prospector:modmenu:${project.modmenu_version}"
modImplementation("io.github.prospector:modmenu:${project.modmenu_version}") {
exclude group: "net.fabricmc.fabric-api"
}
modCompileOnly "me.shedaniel:RoughlyEnoughItems-api:${project.roughlyenoughitems_version}"
modRuntime "me.shedaniel:RoughlyEnoughItems:${project.roughlyenoughitems_version}"
modRuntime("me.shedaniel:RoughlyEnoughItems:${project.roughlyenoughitems_version}") {
exclude group: "net.fabricmc.fabric-api"
}
modImplementation "me.shedaniel.cloth:config-2:${project.cloth_config_version}"
include "me.shedaniel.cloth:config-2:${project.cloth_config_version}"
@ -58,7 +62,7 @@ publishing {
}
repositories {
maven {
url '/data/maven'
url "/data/maven"
}
}
}
@ -99,24 +103,24 @@ javadoc {
title "EnergonRelics v${version}"
}
if (project.hasProperty('curseforge.api_key')) {
if (project.hasProperty("curseforge.api_key")) {
curseforge {
apiKey = project.getProperty('curseforge.api_key')
apiKey = project.getProperty("curseforge.api_key")
//noinspection GroovyAssignabilityCheck
project {
id = project.curseforge_id
changelog = 'A changelog can be found at https://gitea.thebrokenrail.com/TheBrokenRail/EnergonRelics/src/branch/master/CHANGELOG.md'
releaseType = 'release'
changelog = "A changelog can be found at https://gitea.thebrokenrail.com/TheBrokenRail/EnergonRelics/src/branch/master/CHANGELOG.md"
releaseType = mod_version.startsWith("0") || mod_version.endsWith("-unstable") ? "beta" : "release"
addGameVersion project.simple_minecraft_version
addGameVersion 'Fabric'
addGameVersion "Fabric"
mainArtifact(remapJar) {
displayName = "EnergonRelics v${mod_version} for ${project.minecraft_version}"
}
afterEvaluate {
uploadTask.dependsOn('remapJar')
uploadTask.dependsOn("remapJar")
}
relations {
requiredDependency 'fabric-api'
requiredDependency "fabric-api"
}
}
options {