mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 12:42:19 +00:00
Nashorn-less Tasks
This commit is contained in:
1 parent
ab5dbc077b
commit
ad4033ed62
2 files changed
+18
-1
No files matched your search
@@ -31,6 +31,21 @@ tasks.create('buildNoMixin', Exec) {
|
||||
commandLine gradleWrapper, 'build', '-Pnomixin'
|
||||
}
|
||||
|
||||
// No Nashorn Run Tasks
|
||||
tasks.create('runClientNoNashorn', Exec) {
|
||||
description 'Runs the client without Nashorn'
|
||||
group 'CustomNPC+'
|
||||
workingDir project.rootDir
|
||||
commandLine gradleWrapper, 'runClient', '-PnoNashorn'
|
||||
}
|
||||
|
||||
tasks.create('runServerNoNashorn', Exec) {
|
||||
description 'Runs the server without Nashorn'
|
||||
group 'CustomNPC+'
|
||||
workingDir project.rootDir
|
||||
commandLine gradleWrapper, 'runServer', '-PnoNashorn'
|
||||
}
|
||||
|
||||
sourceSets.main.java {
|
||||
def apiDir = file('src/api/java')
|
||||
|
||||
|
||||
+3
-1
@@ -36,7 +36,9 @@
|
||||
def embedMixin = !project.hasProperty("nomixin");
|
||||
dependencies {
|
||||
runtimeOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.5.4-GTNH:dev")
|
||||
runtimeOnlyNonPublishable("curse.maven:Nashorn-374413:2924946")
|
||||
if (!project.hasProperty("noNashorn")) {
|
||||
runtimeOnlyNonPublishable("curse.maven:Nashorn-374413:2924946")
|
||||
}
|
||||
|
||||
// compileOnly(files("./tools/bukkit-api/spigot-api-ONLY.jar"))
|
||||
// compileOnly(files("./tools/bukkit-api/Vault-1.4.1.jar"))
|
||||
|
||||
Reference in new issue
Block a user