Skip to content
Permalink
Browse files

Update dependency versions

  • Loading branch information...
HyCraftHD committed Aug 10, 2019
1 parent dddf6da commit d04e37ffde69d482bc485118705fc2eb33e21aa7
Showing with 29 additions and 20 deletions.
  1. +22 −13 build.gradle
  2. +5 −5 build.properties
  3. +2 −2 src/main/resources/META-INF/mods.toml
@@ -7,11 +7,11 @@ buildscript {
}
dependencies {
classpath group: "net.minecraftforge.gradle", name: "ForgeGradle", version: "3.+", changing: true
classpath "gradle.plugin.com.matthewprenger:CurseGradle:1.1.2"
classpath "gradle.plugin.com.matthewprenger:CurseGradle:1.3.0"
}
}

apply from: "https://raw.githubusercontent.com/HyCraftHD/Blank-Forge-Project/master/build.methods"
apply from: "https://raw.githubusercontent.com/HyCraftHD/Blank-Forge-Project/master/configuration.methods"
apply from: "https://raw.githubusercontent.com/HyCraftHD/Blank-Forge-Project/master/git.methods"

setup()
@@ -24,6 +24,7 @@ apply plugin: "maven"

repositories {
maven { url = "https://repo.u-team.info" }
maven { url = "https://dvs1.progwml6.com/files/maven" }
}

getBuildNumber()
@@ -68,7 +69,7 @@ def normalManifest = {
attributes(
"Specification-Title": config.mod.name,
"Specification-Vendor": "Team UTeam",
"Specification-Version": "28.0",
"Specification-Version": config.forge.major_version,
"Built-On": config.forge.mcversion,
"Implementation-Title": config.mod.name,
"Implementation-Version": project.version,
@@ -81,6 +82,9 @@ jar {
classifier = ""

from "LICENSE"

exclude("info/u_team/useful_resources/data")
exclude(".cache")

manifest normalManifest
}
@@ -90,6 +94,9 @@ task deobfJar(type: Jar) {

from sourceSets.main.output
from "LICENSE"

exclude("info/u_team/useful_resources/data")
exclude(".cache")

manifest normalManifest
}
@@ -135,6 +142,8 @@ sourceSets {
dependencies {
minecraft "net.minecraftforge:forge:$config.forge.version"
compile "info.u-team:u_team_core-${config.forge.mcversion}:${config.uteamcore.version}:dev"
compileOnly fg.deobf("mezz.jei:jei-${config.forge.mcversion}:${config.jei.version}:api")
runtimeOnly fg.deobf("mezz.jei:jei-${config.forge.mcversion}:${config.jei.version}")
}

compileJava {
@@ -163,8 +172,8 @@ curseforge {
mainArtifact(jar) {
displayName = "${config.curse.display}-${config.forge.mcversion}-${project.version}"
changelogType = "html"
changelog = "<a href=\"${config.curse.changelog}\">Changelog of ${project.version}</a>"
}
changelog = "<a href=\"https://github.com/MC-U-Team/${config.github.name}/blob/${config.github.branch}/CHANGELOG.md\">Changelog of ${project.version}</a>"
}

addArtifact(deobfJar) {
displayName = "${config.curse.display}-${config.forge.mcversion}-${project.version}-dev"
@@ -192,21 +201,21 @@ uploadArchives {
project {
name project.archivesBaseName
packaging "jar"
description "${config.maven.github_name}"
url "https://github.com/MC-U-Team/${config.maven.github_name}"
description "${config.github.name}"
url "https://github.com/MC-U-Team/${config.github.name}"
scm {
url "https://github.com/MC-U-Team/${config.maven.github_name}"
connection "scm:git:git://github.com/MC-U-Team/${config.maven.github_name}.git"
developerConnection "scm:git:git@github.com:MC-U-Team/${config.maven.github_name}.git"
url "https://github.com/MC-U-Team/${config.github.name}"
connection "scm:git:git://github.com/MC-U-Team/${config.github.name}.git"
developerConnection "scm:git:git@github.com:MC-U-Team/${config.github.name}.git"
}
issueManagement {
system "github"
url "https://github.com/MC-U-Team/${config.maven.github_name}/issues"
url "https://github.com/MC-U-Team/${config.github.name}/issues"
}
licenses {
license {
name "Apache License 2.0"
url "https://github.com/MC-U-Team/${config.maven.github_name}/blob/${config.forge.mcversion}/LICENSE"
url "https://github.com/MC-U-Team/${config.github.name}/blob/${config.github.branch}/LICENSE"
distribution "repo"
}
}
@@ -230,4 +239,4 @@ task uploadBoth {
doLast {
println "Published both"
}
}
}
@@ -11,11 +11,11 @@ mod.name=Useful Backpacks
curse.id=274338
curse.type=release
curse.display=Useful-Backpacks
curse.changelog=https://github.com/MC-U-Team/Useful-Backpacks/blob/1.14.4/CHANGELOG.md

#Maven
maven.github_name=Useful-Backpacks
#Github
github.name=Useful-Backpacks
github.branch=1.14.4

#Dependencies
#UTeamCore
uteamcore.version=2.5.5.120
#Jei
jei.version=6.0.0.10
@@ -16,7 +16,7 @@ authors="HyCraftHD"
[[dependencies.usefulbackpacks]]
modId="forge"
mandatory=true
versionRange="[28.0.13,)"
versionRange="[28.0.45,)"
ordering="NONE"
side="BOTH"

@@ -30,6 +30,6 @@ authors="HyCraftHD"
[[dependencies.usefulbackpacks]]
modId="uteamcore"
mandatory=true
versionRange="[2.5.5.120,)"
versionRange="[2.7.0.129,)"
ordering="NONE"
side="BOTH"

0 comments on commit d04e37f

Please sign in to comment.
You can’t perform that action at this time.