Skip to content

Commit

Permalink
port to 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredlll08 committed Jul 12, 2020
1 parent 22d41f1 commit 20a9ba2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
27 changes: 16 additions & 11 deletions build.gradle
Expand Up @@ -31,8 +31,19 @@ if (System.getenv('BUILD_NUMBER') != null) {
group = modGroup
archivesBaseName = modBaseName

repositories {
mavenLocal()
mavenCentral()
maven {
url 'http://maven.blamejared.com'
}
maven {
url 'https://dogforce-games.com/maven'
}
}

minecraft {
mappings channel: 'snapshot', version: '20200417-1.15.1'
mappings channel: 'snapshot', version: '20200712-1.16.1'

runs {
client {
Expand Down Expand Up @@ -65,13 +76,7 @@ minecraft {
}
}

repositories {
mavenLocal()
mavenCentral()
maven {
url 'http://maven.blamejared.com'
}
}


task genGitChangelog() {
def stdout = new ByteArrayOutputStream()
Expand Down Expand Up @@ -99,8 +104,8 @@ task genGitChangelog() {
}

dependencies {
minecraft 'net.minecraftforge:forge:1.15.2-31.1.46'
compile fg.deobf("com.blamejared.crafttweaker:CraftTweaker-1.15.2:6.0.0.17");
minecraft 'net.minecraftforge:forge:1.16.1-32.0.63'
compile fg.deobf("com.blamejared.crafttweaker:CraftTweaker-1.16.1:7.0.0.5");
}
jar {
manifest {
Expand Down Expand Up @@ -212,7 +217,7 @@ task updateVersionTracker {
def body = [
'author' : "${project.findProperty('versionTrackerAuthor')}",
'projectName' : "InitialInventory",
'gameVersion' : "1.15.2",
'gameVersion' : "1.16.1",
'projectVersion': "${version}",
'homepage' : "${project.findProperty('versionTrackerHomepage')}",
'uid' : "${project.findProperty('versionTrackerKey')}"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
@@ -1,5 +1,5 @@
modLoader="javafml" #mandatory
loaderVersion="[31,)" #mandatory (28 is current forge version)
loaderVersion="[32,)" #mandatory (28 is current forge version)
issueTrackerURL="http://my.issue.tracker/" #optional
[[mods]] #mandatory
modId="initialinventory" #mandatory
Expand Down

0 comments on commit 20a9ba2

Please sign in to comment.