gradle: add dependency dump for Bootstrapper (#1717)
* Fix player attack options and player indicators * player attack options * buying checkstyle bypass method * for testing the bootstrapper. if the testing works, this can be merged Signed-off-by: PKLite <stonewall@pklite.xyz> * runtimeClasspath Signed-off-by: PKLite <stonewall@pklite.xyz> * runtimeClasspath Signed-off-by: PKLite <stonewall@pklite.xyz> * launcher version bump Signed-off-by: PKLite <stonewall@pklite.xyz> * , Signed-off-by: PKLite <stonewall@pklite.xyz>
This commit is contained in:
@@ -26,6 +26,9 @@ ext {
|
|||||||
localGitCommitShort = grgit.head().getAbbreviatedId(7)
|
localGitCommitShort = grgit.head().getAbbreviatedId(7)
|
||||||
localGitDirty = !grgit.status().clean
|
localGitDirty = !grgit.status().clean
|
||||||
|
|
||||||
|
// sets the minimum launcher version that is output for the bootstrapper
|
||||||
|
launcherVersion = '2.0.3'
|
||||||
|
|
||||||
// Dependencies versions
|
// Dependencies versions
|
||||||
annotations = '17.0.0'
|
annotations = '17.0.0'
|
||||||
antlr = '4.7.2'
|
antlr = '4.7.2'
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ dependencies {
|
|||||||
implementation(group: 'io.sigpipe', name: 'jbsdiff', version: jbsdiff) {
|
implementation(group: 'io.sigpipe', name: 'jbsdiff', version: jbsdiff) {
|
||||||
exclude(module: 'xz')
|
exclude(module: 'xz')
|
||||||
}
|
}
|
||||||
implementation group: 'com.github.joonasvali.naturalmouse', name: 'naturalmouse', version: '[1.0.0,)'
|
implementation group: 'com.github.joonasvali.naturalmouse', name: 'naturalmouse', version: '2.0.2'
|
||||||
runtime group: 'net.runelite.pushingpixels', name: 'trident', version: trident
|
runtime group: 'net.runelite.pushingpixels', name: 'trident', version: trident
|
||||||
runtime group: 'org.jogamp.gluegen', name: 'gluegen-rt', version: jogamp, classifier: 'natives-linux-amd64'
|
runtime group: 'org.jogamp.gluegen', name: 'gluegen-rt', version: jogamp, classifier: 'natives-linux-amd64'
|
||||||
runtime group: 'org.jogamp.gluegen', name: 'gluegen-rt', version: jogamp, classifier: 'natives-linux-i586'
|
runtime group: 'org.jogamp.gluegen', name: 'gluegen-rt', version: jogamp, classifier: 'natives-linux-i586'
|
||||||
@@ -85,7 +85,8 @@ processResources {
|
|||||||
"project.version": project.version,
|
"project.version": project.version,
|
||||||
"rs.version": rsversion.toString(),
|
"rs.version": rsversion.toString(),
|
||||||
"open.osrs.version": plusVersion.toString(),
|
"open.osrs.version": plusVersion.toString(),
|
||||||
"open.osrs.builddate": buildDate.toString()
|
"open.osrs.builddate": buildDate.toString(),
|
||||||
|
"launcher.version": launcherVersion.toString()
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -107,10 +108,11 @@ shadowJar {
|
|||||||
exclude("net/runelite/injector/**")
|
exclude("net/runelite/injector/**")
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyToLib(type: Copy) {
|
task dependencyReportFile(type: DependencyReportTask) {
|
||||||
into "$buildDir/lib"
|
outputFile = file('dependencies.txt')
|
||||||
from configurations.runtime
|
Set configs = [project.configurations.runtimeClasspath]
|
||||||
|
setConfigurations(configs)
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.build.dependsOn tasks.shadowJar
|
tasks.build.dependsOn tasks.shadowJar
|
||||||
tasks.shadowJar.dependsOn tasks.copyToLib
|
tasks.shadowJar.dependsOn tasks.dependencyReportFile
|
||||||
|
|||||||
@@ -10,4 +10,5 @@ open.osrs.version=@open.osrs.version@
|
|||||||
open.osrs.builddate=@open.osrs.builddate@
|
open.osrs.builddate=@open.osrs.builddate@
|
||||||
runelite.wiki.troubleshooting.link=https://github.com/runelite/runelite/wiki/Troubleshooting-problems-with-the-client
|
runelite.wiki.troubleshooting.link=https://github.com/runelite/runelite/wiki/Troubleshooting-problems-with-the-client
|
||||||
runelite.wiki.building.link=https://github.com/runelite-extended/runelite/wiki/Building-with-IntelliJ-IDEA
|
runelite.wiki.building.link=https://github.com/runelite-extended/runelite/wiki/Building-with-IntelliJ-IDEA
|
||||||
runelite.dnschange.link=https://1.1.1.1/dns/
|
runelite.dnschange.link=https://1.1.1.1/dns/
|
||||||
|
launcher.version=@launcher.version@
|
||||||
Reference in New Issue
Block a user