Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

Commit

Permalink
change: Clear up my failures and actually update everything
Browse files Browse the repository at this point in the history
  • Loading branch information
NoComment1105 committed May 30, 2021
1 parent d0577c6 commit a2dbd7c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: build
run: ./gradlew build
- name: capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '11' }} # Only upload artifacts built from LTS java on one OS
if: ${{ runner.os == 'Linux' && matrix.java == '16' }} # Only upload artifacts built from latest java on one OS
uses: actions/upload-artifact@v2
with:
name: Artifacts
Expand Down
5 changes: 3 additions & 2 deletions build.gradle
Expand Up @@ -5,8 +5,8 @@ plugins {
id "com.matthewprenger.cursegradle" version "1.4.0"
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16

archivesBaseName = "${project.archives_base_name}-${project.minecraft_version}"
version = project.mod_version
Expand Down Expand Up @@ -45,6 +45,7 @@ processResources {
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
tasks.withType(JavaCompile) {
it.options.encoding = "UTF-8"
it.options.release = 16
}

// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/fabric.mod.json
Expand Up @@ -15,7 +15,8 @@
]
},
"depends": {
"fabricloader": ">=0.11.3"
"fabricloader": ">=0.11.3",
"java": ">=16"
},
"mixins": [
"smoothbedrock.mixins.json"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/smoothbedrock.mixins.json
@@ -1,7 +1,7 @@
{
"required": true,
"package": "com.nocomment1105.smoothbedrock.mixin",
"compatibilityLevel": "JAVA_8",
"compatibilityLevel": "JAVA_16",
"mixins": [
"MixinFlatBedrock"
],
Expand Down

0 comments on commit a2dbd7c

Please sign in to comment.