add javacord, dotenv and log4j dependencies
This commit is contained in:
parent
5532dc1769
commit
fd7fa1e078
@ -8,6 +8,7 @@
|
||||
plugins {
|
||||
// Apply the application plugin to add support for building a CLI application in Java.
|
||||
application
|
||||
id("com.gradleup.shadow") version "8.3.3"
|
||||
}
|
||||
|
||||
repositories {
|
||||
@ -23,6 +24,9 @@ dependencies {
|
||||
|
||||
// This dependency is used by the application.
|
||||
implementation(libs.guava)
|
||||
implementation(libs.javacord)
|
||||
implementation(libs.dotenv)
|
||||
implementation(libs.log4j)
|
||||
}
|
||||
|
||||
// Apply a specific Java toolchain to ease working on different environments.
|
||||
@ -37,6 +41,13 @@ application {
|
||||
mainClass = "net.tomatentum.tomatenmusic3.App"
|
||||
}
|
||||
|
||||
|
||||
tasks.withType<Jar> {
|
||||
manifest {
|
||||
attributes["Main-Class"] = application.mainClass
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named<Test>("test") {
|
||||
// Use JUnit Platform for unit tests.
|
||||
useJUnitPlatform()
|
||||
|
@ -4,7 +4,15 @@
|
||||
[versions]
|
||||
guava = "33.0.0-jre"
|
||||
junit-jupiter = "5.10.2"
|
||||
javacord = "3.8.0"
|
||||
dotenv = "3.0.0"
|
||||
log4j = "2.24.1"
|
||||
|
||||
[libraries]
|
||||
guava = { module = "com.google.guava:guava", version.ref = "guava" }
|
||||
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit-jupiter" }
|
||||
javacord = { module = "org.javacord:javacord", version.ref = "javacord" }
|
||||
dotenv = { module = "io.github.cdimascio:dotenv-java", version.ref = "dotenv"}
|
||||
log4j = { module = "org.apache.logging.log4j:log4j-core", version.ref = "log4j"}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user