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