Update to 1.16.2

This commit is contained in:
Marcel Konrad
2020-08-29 20:33:33 +02:00
parent 8d6a4b8a38
commit b1db1a78f4
57 changed files with 589 additions and 617 deletions

View File

@@ -1,3 +1,5 @@
import org.gradle.plugins.ide.eclipse.model.AccessRule
buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
@@ -13,7 +15,7 @@ apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
version = '1.16.1-2.11.1'
version = '1.16.2-2.11.1'
group = 'exopandora.worldhandler' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'WorldHandler'
@@ -25,7 +27,7 @@ minecraft {
// stable_# Stables are built at the discretion of the MCP team.
// Use non-default mappings at your own risk. they may not always work.
// Simply re-run your setup task after changing the mappings to update your workspace.
mappings channel: 'snapshot', version: '20200514-1.16'
mappings channel: 'snapshot', version: '20200723-1.16.1'
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
@@ -89,7 +91,7 @@ dependencies {
// Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed
// that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied.
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
minecraft 'net.minecraftforge:forge:1.16.1-32.0.106'
minecraft 'net.minecraftforge:forge:1.16.2-33.0.22'
// You may put jars on which you depend on in ./libs or you may define them like so..
// compile "some.group:artifact:version:classifier"
@@ -111,6 +113,17 @@ dependencies {
}
eclipse {
classpath {
file {
whenMerged {
def jre = entries.find { it.path.contains 'org.eclipse.jdt.launching.JRE_CONTAINER' }
jre.accessRules.add(new AccessRule('accessible', 'jdk/nashorn/**'))
}
}
}
}
// Example for how to get properties into the manifest for reading by the runtime..
jar {
manifest {