Update Loom, Yarn, Checkstyle (#2538)

This commit is contained in:
modmuss50 2022-09-25 14:46:02 +01:00 committed by GitHub
parent b598f4acf2
commit 79adfe0a0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View file

@ -9,8 +9,8 @@ plugins {
id "eclipse"
id "idea"
id "maven-publish"
id "fabric-loom" version "0.13.12" apply false
id "com.diffplug.spotless" version "6.5.1"
id "fabric-loom" version "1.0.7" apply false
id "com.diffplug.spotless" version "6.11.0"
id "org.ajoberstar.grgit" version "3.1.0"
id "com.matthewprenger.cursegradle" version "1.4.0"
id "com.modrinth.minotaur" version "2.4.3"
@ -223,7 +223,7 @@ allprojects {
checkstyle {
configFile = rootProject.file("checkstyle.xml")
toolVersion = "9.1"
toolVersion = "10.3.3"
}
tasks.withType(AbstractArchiveTask) {
@ -248,6 +248,12 @@ allprojects {
archiveClassifier = "testmod"
}
[jar, testmodJar, sourcesJar].each {
it.from(rootProject.file("LICENSE")) {
rename { "${it}-${project.archivesBaseName}"}
}
}
task remapTestmodJar(type: net.fabricmc.loom.task.RemapJarTask, dependsOn: testmodJar) {
input = testmodJar.archiveFile
archiveClassifier = "testmod"

View file

@ -54,7 +54,7 @@ public interface ParticleFactoryRegistry {
* @param <T> The type of particle effects this factory deals with.
*/
@FunctionalInterface
public interface PendingParticleFactory<T extends ParticleEffect> {
interface PendingParticleFactory<T extends ParticleEffect> {
/**
* Called to create a new particle factory.
*

View file

@ -82,7 +82,7 @@ public interface RenderContext {
void popTransform();
@FunctionalInterface
public interface QuadTransform {
interface QuadTransform {
/**
* Return false to filter out quads from rendering. When more than one transform
* is in effect, returning false means unapplied transforms will not receive the quad.

View file

@ -3,7 +3,7 @@ org.gradle.parallel=true
version=0.61.0
minecraft_version=1.19.2
yarn_version=+build.1
yarn_version=+build.17
loader_version=0.14.9
prerelease=false