diff options
author | Anthony Hilyard <anthony.hilyard@gmail.com> | 2021-10-25 13:17:00 -0700 |
---|---|---|
committer | Anthony Hilyard <anthony.hilyard@gmail.com> | 2021-10-25 13:17:00 -0700 |
commit | 730ec4f0faaf99e231279fdc026566f9970afb23 (patch) | |
tree | e84bd462ed7c482e958924d242853f5904f8e51f /build.gradle | |
parent | ec4c5aebf3b5b5af872c6b168c02bedd2bd5a9e3 (diff) | |
download | Iceberg-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.gradle | 10 |
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 |