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

This commit is contained in:
Ra
2025-09-12 04:23:42 -07:00
parent 915fb55c0a
commit 3a035fc9e0
3489 changed files with 20399 additions and 53 deletions

View File

@@ -24,6 +24,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
import java.io.File
apply<FernflowerPlugin>()
description = "Injected Client"
@@ -48,8 +49,16 @@ configurations {
}
}
val vanillaJarProp: String? = (findProperty("vanillaJar") as String?) ?: System.getenv("VANILLA_JAR")
val vanillaJarFile: File? = vanillaJarProp?.let { file(it) }?.takeIf { it.exists() }
dependencies {
vanillaDep(group = "net.runelite.rs", name = "vanilla", version = ProjectVersions.rsversion.toString())
if (vanillaJarFile != null) {
vanillaDep(files(vanillaJarFile))
} else {
// Fallback to local project jar to avoid private repo dependency
vanillaDep(project(":runescape-client"))
}
rsapiDep(project(":runescape-api"))
rsclientDep(project(":runescape-client"))
mixinsDep(project(":runelite-mixins"))
@@ -60,6 +69,8 @@ injector {
rsapi.set(rsapiDep.singleFile)
rsclient.set(rsclientDep.singleFile)
vanilla.set(vanillaDep.singleFile)
// Temporarily skip fragile steps for obfuscated jars without parameter metadata
skip.set("MixinInjector RSApiInjector")
}
// keep the sourcesets etc but remove useless tasks
@@ -79,4 +90,4 @@ tasks {
processResources {
enabled = false
}
}
}