mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-24 22:04:23 +00:00
Refactor ZenScript into maven dependency
This commit is contained in:
1 parent
2d878e671b
commit
6c70311d0b
5 files changed
+3
-22
No files matched your search
@@ -1,3 +0,0 @@
|
|||||||
[submodule "ZenScript"]
|
|
||||||
path = ZenScript
|
|
||||||
url = https://github.com/GTNewHorizons/ZenScript.git
|
|
||||||
-1
Submodule ZenScript deleted from e71448251d.
@@ -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
|
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
// Add your dependencies here
|
// Add your dependencies here
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
shadowImplementation("com.github.GTNewHorizons:ZenScript:CraftTweaker")
|
||||||
|
|
||||||
compile("com.github.GTNewHorizons:NotEnoughItems:master-SNAPSHOT:dev")
|
compile("com.github.GTNewHorizons:NotEnoughItems:master-SNAPSHOT:dev")
|
||||||
|
|
||||||
compile("net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev")
|
compile("net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev")
|
||||||
|
|||||||
+1
-1
@@ -57,7 +57,7 @@ containsMixinsAndOrCoreModOnly = false
|
|||||||
|
|
||||||
# If enabled, you may use 'shadowImplementation' for dependencies. They will be integrated in your jar. It is your
|
# 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.
|
# 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
|
# Optional parameter to customize the produced artifacts. Use this to preserver artifact naming when migrating older
|
||||||
# projects. New projects should not use this parameter.
|
# projects. New projects should not use this parameter.
|
||||||
|
|||||||
Reference in new issue
Block a user