aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorAnthony Hilyard <anthony.hilyard@gmail.com>2021-10-25 13:17:00 -0700
committerAnthony Hilyard <anthony.hilyard@gmail.com>2021-10-25 13:17:00 -0700
commit730ec4f0faaf99e231279fdc026566f9970afb23 (patch)
treee84bd462ed7c482e958924d242853f5904f8e51f /build.gradle
parentec4c5aebf3b5b5af872c6b168c02bedd2bd5a9e3 (diff)
downloadIceberg-730ec4f0faaf99e231279fdc026566f9970afb23.tar.gz
Iceberg-730ec4f0faaf99e231279fdc026566f9970afb23.tar.bz2
Iceberg-730ec4f0faaf99e231279fdc026566f9970afb23.zip
Fixed crash issue in creative inventory. Fixed tooltip rendering issue.
Enabled mixins.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index c037977..163ecc9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,7 +6,7 @@ plugins {
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
-archivesBaseName = project.name + '-' + project.mcVersion
+archivesBaseName = project.name + '-' + project.mcVersion + '-fabric'
sourceSets.main.java.srcDirs += 'java'
sourceSets.main.resources.srcDirs += 'resources'
@@ -37,6 +37,14 @@ loom {
accessWidenerPath = file("src/main/resources/${project.name.toLowerCase()}.accesswidener")
}
+processResources {
+ inputs.property 'version', project.version
+
+ filesMatching("fabric.mod.json") {
+ expand "version": project.version
+ }
+}
+
tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
it.options.release = 16