Update Artifacts
All checks were successful
ScriptCraft/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2020-04-29 12:16:20 -04:00
parent 30661d82b3
commit 2b9a573a46
3 changed files with 8 additions and 5 deletions

View File

@ -9,8 +9,7 @@ compileJava {
} }
archivesBaseName = project.archives_base_name archivesBaseName = project.archives_base_name
def mod_version = project.mod_version as Object version = project.mod_version as Object
version = "${mod_version}+${project.minecraft_version}"
group = project.maven_group as Object group = project.maven_group as Object
minecraft { minecraft {
@ -27,12 +26,12 @@ apply from: './typescript.build.gradle'
apply from: './jni.build.gradle' apply from: './jni.build.gradle'
processResources { processResources {
inputs.property 'version', mod_version inputs.property 'version', version
inputs.property 'name', rootProject.name inputs.property 'name', rootProject.name
from(sourceSets.main.resources.srcDirs) { from(sourceSets.main.resources.srcDirs) {
include 'fabric.mod.json' include 'fabric.mod.json'
expand 'version': mod_version, 'name': rootProject.name expand 'version': version, 'name': rootProject.name
} }
from(sourceSets.main.resources.srcDirs) { from(sourceSets.main.resources.srcDirs) {

View File

@ -10,7 +10,7 @@ org.gradle.jvmargs = -Xmx1G
fabric_loader_version = 0.8.2+build.194 fabric_loader_version = 0.8.2+build.194
# Mod Properties # Mod Properties
mod_version = 1.0.0 mod_version = 1.0.0-SNAPSHOT
maven_group = com.thebrokenrail maven_group = com.thebrokenrail
archives_base_name = scriptcraft archives_base_name = scriptcraft

View File

@ -31,6 +31,10 @@ task apiTar(group: 'typescript', type: Tar) {
from new File(typescriptRootFile as File, 'package.json') from new File(typescriptRootFile as File, 'package.json')
classifier 'api' classifier 'api'
compression Compression.GZIP
extension 'tar.gz'
} }
apiTar.dependsOn typescript apiTar.dependsOn typescript