A RuneTek3 client (377) that is deobfuscated, converted to Kotlin, and includes QoL improvements.
1plugins {
2 id 'java'
3 id 'idea'
4 id 'org.jetbrains.kotlin.jvm' version '2.1.20'
5}
6
7group = 'com.jagex.runescape'
8
9repositories {
10 mavenCentral()
11}
12
13dependencies {
14 testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
15 testImplementation 'org.testng:testng:7.9.0'
16}
17
18kotlin {
19 jvmToolchain(21)
20}
21
22tasks.withType(Test).configureEach {
23 useJUnitPlatform()
24}
25
26jar {
27 archiveFileName = '377.jar'
28 manifest {
29 attributes 'Main-Class': 'com.jagex.runescape.Game'
30 }
31 from {
32 configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
33 }
34 duplicatesStrategy = DuplicatesStrategy.EXCLUDE
35}
36
37tasks.register('run', JavaExec) {
38 mainClass = 'com.jagex.runescape.Game'
39 classpath = sourceSets.main.runtimeClasspath
40}