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 implementation 'org.yaml:snakeyaml:2.0'
15 testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
16 testImplementation 'org.testng:testng:7.9.0'
17}
18
19kotlin {
20 jvmToolchain(21)
21}
22
23tasks.withType(Test).configureEach {
24 useJUnitPlatform()
25}
26
27jar {
28 archiveFileName = '377.jar'
29 manifest {
30 attributes 'Main-Class': 'com.jagex.runescape.Game'
31 }
32 from {
33 configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
34 }
35 duplicatesStrategy = DuplicatesStrategy.EXCLUDE
36}
37
38tasks.register('run', JavaExec) {
39 mainClass = 'com.jagex.runescape.Game'
40 classpath = sourceSets.main.runtimeClasspath
41}