mirror of
https://github.com/heavycaffeiner/ayaya.git
synced 2025-10-28 04:44:56 +09:00
init (v0.0.1)
This commit is contained in:
30
build.gradle.kts
Normal file
30
build.gradle.kts
Normal file
@@ -0,0 +1,30 @@
|
||||
plugins {
|
||||
id("java")
|
||||
}
|
||||
|
||||
group = "dev.ptnr"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation(platform("org.junit:junit-bom:5.10.0"))
|
||||
testImplementation("org.junit.jupiter:junit-jupiter")
|
||||
implementation("net.dv8tion:JDA:5.6.1") { // replace $version with the latest version
|
||||
// Optionally disable audio natives to reduce jar size by excluding `opus-java` and `tink`
|
||||
// Gradle DSL:
|
||||
// exclude module: 'opus-java' // required for encoding audio into opus, not needed if audio is already provided in opus encoding
|
||||
// exclude module: 'tink' // required for encrypting and decrypting audio
|
||||
// Kotlin DSL:
|
||||
// exclude(module="opus-java") // required for encoding audio into opus, not needed if audio is already provided in opus encoding
|
||||
// exclude(module="tink") // required for encrypting and decrypting audio
|
||||
}
|
||||
implementation("com.fasterxml.jackson.core:jackson-databind:2.19.0")
|
||||
implementation("com.twelvemonkeys.imageio:imageio-webp:3.12.0")
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
Reference in New Issue
Block a user