aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorLifeIsAParadox <LifeIsAParadox@users.noreply.github.com>2021-12-12 22:23:07 +0100
committerLifeIsAParadox <LifeIsAParadox@users.noreply.github.com>2021-12-12 22:23:07 +0100
commitc11770ea6f633c90599f2d0f72537f2268d3edfb (patch)
treec569a0413a1e3d36a4c4c03d8d7298d2de9021e0 /build.gradle
parent50c730331fae8b9e793dc053e668acf2673692e7 (diff)
downloadSkyblocker-c11770ea6f633c90599f2d0f72537f2268d3edfb.tar.gz
Skyblocker-c11770ea6f633c90599f2d0f72537f2268d3edfb.tar.bz2
Skyblocker-c11770ea6f633c90599f2d0f72537f2268d3edfb.zip
fix log4j2
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle16
1 files changed, 2 insertions, 14 deletions
diff --git a/build.gradle b/build.gradle
index 9f7503ca..c5656d10 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,5 @@
plugins {
- id 'fabric-loom' version '0.9-SNAPSHOT'
+ id 'fabric-loom' version '0.10-SNAPSHOT'
id 'maven-publish'
id 'com.modrinth.minotaur' version '1.2.+'
}
@@ -67,12 +67,6 @@ processResources {
}
tasks.withType(JavaCompile).configureEach {
- // ensure that the encoding is set to UTF-8, no matter what the system default is
- // this fixes some edge cases with special characters not displaying correctly
- // see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
- // If Javadoc is generated, this must be specified in that task too.
- it.options.encoding = "UTF-8"
-
// Minecraft 1.17 (21w19a) upwards uses Java 16.
it.options.release = 16
}
@@ -119,13 +113,7 @@ task publishModrinth(type: TaskModrinthUpload) {
publishing {
publications {
mavenJava(MavenPublication) {
- // add all the jars that should be included when publishing to maven
- artifact(remapJar) {
- builtBy remapJar
- }
- artifact(sourcesJar) {
- builtBy remapSourcesJar
- }
+ from components.java
}
}