From 2b9a573a464bdc2be9fee44784212dd6a8575632 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Wed, 29 Apr 2020 12:16:20 -0400 Subject: [PATCH] Update Artifacts --- build.gradle | 7 +++---- gradle.properties | 2 +- typescript.build.gradle | 4 ++++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 0ad8b07..e647c78 100644 --- a/build.gradle +++ b/build.gradle @@ -9,8 +9,7 @@ compileJava { } archivesBaseName = project.archives_base_name -def mod_version = project.mod_version as Object -version = "${mod_version}+${project.minecraft_version}" +version = project.mod_version as Object group = project.maven_group as Object minecraft { @@ -27,12 +26,12 @@ apply from: './typescript.build.gradle' apply from: './jni.build.gradle' processResources { - inputs.property 'version', mod_version + inputs.property 'version', version inputs.property 'name', rootProject.name from(sourceSets.main.resources.srcDirs) { include 'fabric.mod.json' - expand 'version': mod_version, 'name': rootProject.name + expand 'version': version, 'name': rootProject.name } from(sourceSets.main.resources.srcDirs) { diff --git a/gradle.properties b/gradle.properties index 533a03d..6390000 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,7 +10,7 @@ org.gradle.jvmargs = -Xmx1G fabric_loader_version = 0.8.2+build.194 # Mod Properties - mod_version = 1.0.0 + mod_version = 1.0.0-SNAPSHOT maven_group = com.thebrokenrail archives_base_name = scriptcraft diff --git a/typescript.build.gradle b/typescript.build.gradle index eb8499d..57b5a0b 100644 --- a/typescript.build.gradle +++ b/typescript.build.gradle @@ -31,6 +31,10 @@ task apiTar(group: 'typescript', type: Tar) { from new File(typescriptRootFile as File, 'package.json') classifier 'api' + + compression Compression.GZIP + + extension 'tar.gz' } apiTar.dependsOn typescript