This commit is contained in:
parent
30661d82b3
commit
2b9a573a46
@ -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) {
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user