feat: first commit

This commit is contained in:
Leo
2026-04-12 00:58:20 +02:00
parent b79ff7ebf4
commit 60f1c0c303
32 changed files with 2094 additions and 1 deletions

34
build.gradle Normal file
View File

@@ -0,0 +1,34 @@
plugins {
id 'com.gradleup.shadow' version '8.3.5'
id 'java'
}
group = 'com.leohabrom'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
tasks.withType(JavaExec) {
systemProperty "java.library.path", file("${projectDir}/lib").absolutePath
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
implementation files('lib/DiscordLib.jar')
implementation 'com.google.code.gson:gson:2.13.2'
implementation 'com.github.hypfvieh:dbus-java-core:5.2.0'
implementation 'com.github.hypfvieh:dbus-java-transport-native-unixsocket:5.2.0'
}
test {
useJUnitPlatform()
}
tasks.shadowJar {
manifest {
attributes["Main-Class"] = "com.leohabrom.discordrpc.Main"
}
}