Update Dependencies (#2343)

* Update build.yml

* Update publish.yml

* Update update-base.yml

* Update build.gradle

* Update gradle.properties

* Use fabric's CFR
This commit is contained in:
actuallyasmartname 2021-04-24 05:07:59 -04:00 committed by GitHub
parent a99ec0c4f0
commit 682eb367c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 10 deletions

View File

@ -10,7 +10,7 @@ jobs:
image: openjdk:${{ matrix.java }} image: openjdk:${{ matrix.java }}
options: --user root options: --user root
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1 - uses: gradle/wrapper-validation-action@v1
- run: ./gradlew build javadocJar checkMappings --stacktrace - run: ./gradlew build javadocJar checkMappings --stacktrace
- name: Build artifacts - name: Build artifacts

View File

@ -7,7 +7,7 @@ jobs:
image: openjdk:16-jdk image: openjdk:16-jdk
options: --user root options: --user root
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1 - uses: gradle/wrapper-validation-action@v1
# Ensure that releases are not ran in parallel, this ensures that the latest commit is the latest release # Ensure that releases are not ran in parallel, this ensures that the latest commit is the latest release

View File

@ -9,7 +9,7 @@ jobs:
if: ${{ github.event.label.name == 'update-base' }} if: ${{ github.event.label.name == 'update-base' }}
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/github-script@v3 - uses: actions/github-script@v4
with: with:
github-token: ${{secrets.GITHUB_TOKEN}} github-token: ${{secrets.GITHUB_TOKEN}}
script: | script: |
@ -44,4 +44,4 @@ jobs:
throw error; throw error;
} }
} }

4
.gitignore vendored
View File

@ -20,3 +20,7 @@ namedSrc/
.classpath .classpath
.project .project
.settings/ .settings/
# vscode
.vscode/
bin/

View File

@ -9,16 +9,16 @@ buildscript {
dependencies { dependencies {
classpath "cuchaz:enigma-cli:${project.enigma_version}" classpath "cuchaz:enigma-cli:${project.enigma_version}"
classpath "net.fabricmc:stitch:${project.stitch_version}" classpath "net.fabricmc:stitch:${project.stitch_version}"
classpath "commons-io:commons-io:2.6" classpath "commons-io:commons-io:2.8.0"
classpath 'de.undercouch:gradle-download-task:4.0.4' classpath 'de.undercouch:gradle-download-task:4.1.1'
classpath 'net.fabricmc:tiny-remapper:0.3.1.72' classpath 'net.fabricmc:tiny-remapper:0.3.2'
classpath "net.fabricmc.unpick:unpick:${project.unpick_version}" classpath "net.fabricmc.unpick:unpick:${project.unpick_version}"
classpath "net.fabricmc.unpick:unpick-format-utils:${project.unpick_version}" classpath "net.fabricmc.unpick:unpick-format-utils:${project.unpick_version}"
} }
} }
plugins { plugins {
id 'de.undercouch.download' version '4.0.4' id 'de.undercouch.download' version '4.1.1'
id 'base' id 'base'
id 'maven-publish' id 'maven-publish'
id 'java' // for jd gen id 'java' // for jd gen
@ -75,7 +75,7 @@ dependencies {
javadocClasspath "net.fabricmc:fabric-loader:${project.fabric_loader_version}" javadocClasspath "net.fabricmc:fabric-loader:${project.fabric_loader_version}"
javadocClasspath "org.jetbrains:annotations:${project.jetbrains_annotations_version}" javadocClasspath "org.jetbrains:annotations:${project.jetbrains_annotations_version}"
javadocClasspath "com.google.code.findbugs:jsr305:3.0.2" // for some other jsr annotations javadocClasspath "com.google.code.findbugs:jsr305:3.0.2" // for some other jsr annotations
decompileClasspath "org.benf:cfr:0.150" decompileClasspath "net.fabricmc:cfr:${project.cfr_version}"
mappingPoetJar 'net.fabricmc:mappingpoet:0.2.7' mappingPoetJar 'net.fabricmc:mappingpoet:0.2.7'
unpick "net.fabricmc.unpick:unpick-cli:${project.unpick_version}" unpick "net.fabricmc.unpick:unpick-cli:${project.unpick_version}"
} }

View File

@ -5,5 +5,6 @@ enigma_version=0.27.1
stitch_version=0.5.1+build.77 stitch_version=0.5.1+build.77
unpick_version=2.2.0 unpick_version=2.2.0
# Loader is only used by javadoc generation/linking # Loader is only used by javadoc generation/linking
fabric_loader_version=0.11.1 fabric_loader_version=0.11.3
jetbrains_annotations_version=20.1.0 jetbrains_annotations_version=20.1.0
cfr_version=0.0.2