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 { plugins {
id 'fabric-loom' version '0.5-SNAPSHOT' id "fabric-loom" version "0.5-SNAPSHOT"
id 'com.matthewprenger.cursegradle' version '1.4.0' id "com.matthewprenger.cursegradle" version "1.4.0"
id 'maven-publish' id "maven-publish"
} }
compileJava { compileJava {
@ -18,8 +18,8 @@ loom {
repositories { repositories {
maven { maven {
name = 'Earthcomputer Mods' name = "Earthcomputer Mods"
url = 'https://dl.bintray.com/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}" 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}" 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}" modImplementation "me.shedaniel.cloth:config-2:${project.cloth_config_version}"
include "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 { repositories {
maven { maven {
url '/data/maven' url "/data/maven"
} }
} }
} }
@ -99,24 +103,24 @@ javadoc {
title "EnergonRelics v${version}" title "EnergonRelics v${version}"
} }
if (project.hasProperty('curseforge.api_key')) { if (project.hasProperty("curseforge.api_key")) {
curseforge { curseforge {
apiKey = project.getProperty('curseforge.api_key') apiKey = project.getProperty("curseforge.api_key")
//noinspection GroovyAssignabilityCheck //noinspection GroovyAssignabilityCheck
project { project {
id = project.curseforge_id id = project.curseforge_id
changelog = 'A changelog can be found at https://gitea.thebrokenrail.com/TheBrokenRail/EnergonRelics/src/branch/master/CHANGELOG.md' changelog = "A changelog can be found at https://gitea.thebrokenrail.com/TheBrokenRail/EnergonRelics/src/branch/master/CHANGELOG.md"
releaseType = 'release' releaseType = mod_version.startsWith("0") || mod_version.endsWith("-unstable") ? "beta" : "release"
addGameVersion project.simple_minecraft_version addGameVersion project.simple_minecraft_version
addGameVersion 'Fabric' addGameVersion "Fabric"
mainArtifact(remapJar) { mainArtifact(remapJar) {
displayName = "EnergonRelics v${mod_version} for ${project.minecraft_version}" displayName = "EnergonRelics v${mod_version} for ${project.minecraft_version}"
} }
afterEvaluate { afterEvaluate {
uploadTask.dependsOn('remapJar') uploadTask.dependsOn("remapJar")
} }
relations { relations {
requiredDependency 'fabric-api' requiredDependency "fabric-api"
} }
} }
options { options {