feat: first commit
This commit is contained in:
34
build.gradle
Normal file
34
build.gradle
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user