Refactor ZenScript into maven dependency

This commit is contained in:
Johann Bernhardt committed 2021-12-17 14:05:33 +01:00
1 parent 2d878e671b
commit 6c70311d0b
5 files changed
+3 -22

No files matched your search

-3
View File
@@ -1,3 +0,0 @@
[submodule "ZenScript"]
path = ZenScript
url = https://github.com/GTNewHorizons/ZenScript.git
Submodule ZenScript deleted from e71448251d.
-17
View File
@@ -1,17 +0,0 @@
sourceSets.main {
java.srcDir("ZenScript/src/main/java")
}
task initZenScript(type: Exec) {
description = "Updates (and inits) git submodules"
group = "Build Setup"
commandLine("git", "submodule", "update", "--init", "--recursive", "--remote")
// Checkout a specific commit. Otherwise the build will fail!
commandLine("git", "--git-dir=\"ZenScript/.git\"", "checkout", "e7144825")
}
tasks.setupCIWorkspace.dependsOn initZenScript
tasks.setupDevWorkspace.dependsOn initZenScript
tasks.setupDecompWorkspace.dependsOn initZenScript
tasks.compileJava.dependsOn initZenScript
+2
View File
@@ -1,6 +1,8 @@
// Add your dependencies here
dependencies {
shadowImplementation("com.github.GTNewHorizons:ZenScript:CraftTweaker")
compile("com.github.GTNewHorizons:NotEnoughItems:master-SNAPSHOT:dev")
compile("net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev")
+1 -1
View File
@@ -57,7 +57,7 @@ containsMixinsAndOrCoreModOnly = false
# If enabled, you may use 'shadowImplementation' for dependencies. They will be integrated in your jar. It is your
# responsibility check the licence and request permission for distribution, if required.
usesShadowedDependencies = false
usesShadowedDependencies = yes
# Optional parameter to customize the produced artifacts. Use this to preserver artifact naming when migrating older
# projects. New projects should not use this parameter.