diff --git a/build.gradle.kts b/build.gradle.kts index 98dbb3cc0b..e0f2a98d5b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -35,7 +35,7 @@ buildscript { dependencies { classpath("org.ajoberstar.grgit:grgit-core:4.0.2") classpath("com.github.ben-manes:gradle-versions-plugin:0.28.0") - classpath("com.openosrs:injector-plugin:1.1.2") + classpath("com.openosrs:injector-plugin:1.1.3") } } @@ -169,6 +169,13 @@ subprojects { withSourcesJar() } + withType { + isPreserveFileTimestamps = false + isReproducibleFileOrder = true + dirMode = 493 + fileMode = 420 + } + withType { options.encoding = "UTF-8" } diff --git a/injected-client/injected-client.gradle.kts b/injected-client/injected-client.gradle.kts index ce8883caec..4544988097 100644 --- a/injected-client/injected-client.gradle.kts +++ b/injected-client/injected-client.gradle.kts @@ -62,14 +62,10 @@ injector { vanilla.set(vanillaDep.singleFile) } -artifacts { - runtimeElements(tasks.inject.get().output) -} - // keep the sourcesets etc but remove useless tasks tasks { inject { - dependsOn(configurations["combined"]) + dependsOn(combined) } classes { enabled = false @@ -86,7 +82,4 @@ tasks { processResources { enabled = false } - assemble { - finalizedBy("inject") - } }