Skip to content

Commit 207c28b

Browse files
committed
Java 16
1 parent 07cab82 commit 207c28b

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v2
16-
- name: Set up JDK 11
16+
- name: Set up JDK 16
1717
uses: actions/setup-java@v1
1818
with:
19-
java-version: 11
19+
java-version: 16
2020

2121
- uses: actions/cache@v2
2222
with:

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pipeline {
44
stages {
55
stage('Build') {
66
tools {
7-
jdk "OpenJDK 11"
7+
jdk "OpenJDK 16"
88
}
99
steps {
1010
withMaven(

build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
plugins {
2-
id 'fabric-loom' version '0.7-SNAPSHOT'
2+
id 'fabric-loom' version '0.8-SNAPSHOT'
33
id 'maven-publish'
44
id 'com.github.johnrengelman.shadow' version '6.1.0'
55
}
66

7-
sourceCompatibility = JavaVersion.VERSION_11
8-
targetCompatibility = JavaVersion.VERSION_11
7+
sourceCompatibility = JavaVersion.VERSION_16
8+
targetCompatibility = JavaVersion.VERSION_16
99

1010
archivesBaseName = "${project.archives_base_name}-mc${project.minecraft_version}"
1111
version = project.mod_version

gradle.properties

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Done to increase the memory available to gradle and improve build times.
22
org.gradle.jvmargs=-Xmx2G
33
org.gradle.parallel=true
4-
org.gradle.parallel=true
54
org.gradle.configureondemand=true
65
# Fabric Properties
76
# check these on https://fabricmc.net/versions.html

src/main/resources/c2me.mixins.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"required": true,
33
"minVersion": "0.8",
44
"package": "org.yatopiamc.c2me.mixin",
5-
"compatibilityLevel": "JAVA_11",
5+
"compatibilityLevel": "JAVA_16",
66
"mixins": [
77
"chunkscheduling.fix_unload.MixinThreadedAnvilChunkStorage",
88
"chunkscheduling.mid_tick_chunk_tasks.MixinMinecraftServer",

0 commit comments

Comments
 (0)