Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 28 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,31 +1,42 @@
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm'
}

repositories {
mavenLocal()
maven {
url = 'https://repo.runelite.net'
content {
includeGroupByRegex("net\\.runelite.*")
}
}
mavenCentral()
mavenLocal() // Keep this first so it finds your local PacketUtils
maven {
url = 'https://repo.runelite.net'
content { includeGroupByRegex("net\\.runelite.*") }
}
mavenCentral()
// Remove the JitPack line since you're using local now
}

def runeLiteVersion = 'latest.release'

dependencies {
compileOnly group: 'net.runelite', name:'client', version: runeLiteVersion
compileOnly group: 'net.runelite', name:'client', version: runeLiteVersion

compileOnly 'org.projectlombok:lombok:1.18.30'
annotationProcessor 'org.projectlombok:lombok:1.18.30'

compileOnly 'org.projectlombok:lombok:1.18.30'
annotationProcessor 'org.projectlombok:lombok:1.18.30'
testImplementation 'junit:junit:4.12'
testImplementation group: 'net.runelite', name:'client', version: runeLiteVersion
testImplementation group: 'net.runelite', name:'jshell', version: runeLiteVersion
implementation 'org.slf4j:slf4j-api:1.7.36'
implementation 'io.reactivex.rxjava3:rxjava:3.1.8'
implementation 'com.ethanvann:packetutils:5.4-SNAPSHOT'

testImplementation 'junit:junit:4.12'
testImplementation group: 'net.runelite', name:'client', version: runeLiteVersion
testImplementation group: 'net.runelite', name:'jshell', version: runeLiteVersion
testImplementation "org.junit.jupiter:junit-jupiter-api:5.10.2"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.10.2"
testRuntimeOnly "org.junit.platform:junit-platform-launcher:1.10.2"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}

tasks.test {
useJUnitPlatform()
}
group = 'com.example'
version = '1.0-SNAPSHOT'

Expand Down Expand Up @@ -59,3 +70,6 @@ tasks.register('shadowJar', Jar) {
archiveClassifier.set('shadow')
archiveFileName.set("${rootProject.name}-${project.version}-all.jar")
}
kotlin {
jvmToolchain(11)
}
11 changes: 11 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
pluginManagement {
plugins {
id 'org.jetbrains.kotlin.jvm' version '2.2.10'
}
}
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}
rootProject.name = 'example'

include 'PowerSkiller'
include 'ChinBreakHandler'
Loading