Merge pull request #2724 from Lucwousin/injector-cache
gradle: update injector version
This commit is contained in:
@@ -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<AbstractArchiveTask> {
|
||||
isPreserveFileTimestamps = false
|
||||
isReproducibleFileOrder = true
|
||||
dirMode = 493
|
||||
fileMode = 420
|
||||
}
|
||||
|
||||
withType<JavaCompile> {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user