Improve Build System
All checks were successful
ScriptCraft/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2020-08-25 16:53:42 -04:00
parent 3ea727fb7f
commit c941b61173
7 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
plugins { plugins {
id("fabric-loom") version "0.2.7-SNAPSHOT" id("fabric-loom") version "0.5-SNAPSHOT"
} }
java { java {
@ -7,7 +7,6 @@ java {
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8
} }
base.archivesBaseName = project.property("archives_base_name") as String
val modVersion = project.property("mod_version") val modVersion = project.property("mod_version")
version = "${modVersion}+${project.property("minecraft_version")}" version = "${modVersion}+${project.property("minecraft_version")}"
group = project.property("maven_group")!! group = project.property("maven_group")!!

View File

@ -10,4 +10,3 @@ org.gradle.jvmargs = -Xmx1G
# Mod Properties # Mod Properties
mod_version = 1.0.0 mod_version = 1.0.0
maven_group = com.thebrokenrail maven_group = com.thebrokenrail
archives_base_name = scriptcraft-javascript-example

View File

@ -11,3 +11,5 @@ pluginManagement {
gradlePluginPortal() gradlePluginPortal()
} }
} }
rootProject.name = "scriptcraft-javascript-example"

View File

@ -1,5 +1,5 @@
plugins { plugins {
id("fabric-loom") version "0.2.7-SNAPSHOT" id("fabric-loom") version "0.5-SNAPSHOT"
id("com.thebrokenrail.scriptcraft.plugin") version "1.0.0" id("com.thebrokenrail.scriptcraft.plugin") version "1.0.0"
} }
@ -8,7 +8,6 @@ java {
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8
} }
base.archivesBaseName = project.property("archives_base_name") as String
val modVersion = project.property("mod_version") val modVersion = project.property("mod_version")
version = "${modVersion}+${project.property("minecraft_version")}" version = "${modVersion}+${project.property("minecraft_version")}"
group = project.property("maven_group")!! group = project.property("maven_group")!!

View File

@ -10,4 +10,3 @@ org.gradle.jvmargs = -Xmx1G
# Mod Properties # Mod Properties
mod_version = 1.0.0 mod_version = 1.0.0
maven_group = com.thebrokenrail maven_group = com.thebrokenrail
archives_base_name = scriptcraft-typescript-example

View File

@ -11,3 +11,5 @@ pluginManagement {
gradlePluginPortal() gradlePluginPortal()
} }
} }
rootProject.name = "scriptcraft-typescript-example"

View File

@ -1,5 +1,5 @@
plugins { plugins {
id("fabric-loom") version "0.2.7-SNAPSHOT" id("fabric-loom") version "0.5-SNAPSHOT"
id("jni") id("jni")
id("com.thebrokenrail.scriptcraft.plugin") version "1.0.0" id("com.thebrokenrail.scriptcraft.plugin") version "1.0.0"
`maven-publish` `maven-publish`