hmmmm maybe not supposed to include these bin folders, ..... guess we'll find out later
Some checks failed
OpenOSRS - CI (push) / Build (push) Has been cancelled
OpenOSRS - CI (push) / Test (push) Has been cancelled
OpenOSRS - CI (push) / Checkstyle main (push) Has been cancelled
OpenOSRS - CI (push) / Checkstyle test (push) Has been cancelled
OpenOSRS - Stale issues and PRs / stale (push) Has been cancelled
OpenOSRS - Scraper / scrape-npcs (push) Has been cancelled
OpenOSRS - Gradle Dependencies / update-wrapper (push) Has been cancelled
Some checks failed
OpenOSRS - CI (push) / Build (push) Has been cancelled
OpenOSRS - CI (push) / Test (push) Has been cancelled
OpenOSRS - CI (push) / Checkstyle main (push) Has been cancelled
OpenOSRS - CI (push) / Checkstyle test (push) Has been cancelled
OpenOSRS - Stale issues and PRs / stale (push) Has been cancelled
OpenOSRS - Scraper / scrape-npcs (push) Has been cancelled
OpenOSRS - Gradle Dependencies / update-wrapper (push) Has been cancelled
This commit is contained in:
@@ -29,7 +29,6 @@ import java.util.Date
|
||||
|
||||
plugins {
|
||||
id("com.github.johnrengelman.shadow") version "7.1.2"
|
||||
id("com.openosrs.scriptassembler")
|
||||
java
|
||||
}
|
||||
|
||||
@@ -39,7 +38,7 @@ repositories {
|
||||
}
|
||||
}
|
||||
|
||||
apply<BootstrapPlugin>()
|
||||
// apply<BootstrapPlugin>() // optional for build; can be re-enabled if needed
|
||||
|
||||
description = "RuneLite Client"
|
||||
|
||||
@@ -161,23 +160,10 @@ tasks {
|
||||
archiveClassifier.set("shaded")
|
||||
}
|
||||
|
||||
assembleScripts {
|
||||
val inp = "${projectDir}/src/main/scripts"
|
||||
val out = "${buildDir}/scripts/runelite"
|
||||
|
||||
inputs.dir(inp)
|
||||
outputs.dir(out)
|
||||
|
||||
input.set(file(inp))
|
||||
output.set(file(out))
|
||||
}
|
||||
|
||||
// Re-integrate injected-client artifacts into resources
|
||||
processResources {
|
||||
dependsOn("assembleScripts")
|
||||
dependsOn(":injected-client:inject")
|
||||
|
||||
from("${buildDir}/scripts")
|
||||
|
||||
from("${project(":injected-client").buildDir}/libs")
|
||||
from("${project(":injected-client").buildDir}/resources/main")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user