Skip to content

Commit c5b0a6d

Browse files
Upgrade to voice gateway v8 (#2717)
* Upgrade to voice gateway v8 * Implement new encryption modes using tink (#2718)
1 parent a8bf714 commit c5b0a6d

File tree

10 files changed

+470
-3596
lines changed

10 files changed

+470
-3596
lines changed

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ dependencies {
134134
implementation(libs.trove4j)
135135
implementation(libs.bundles.jackson)
136136

137+
//Audio crypto libraries
138+
implementation(libs.tink)
139+
137140
//Sets the dependencies for the examples
138141
configurations["examplesImplementation"].withDependencies {
139142
addAll(configurations["api"].allDependencies)
@@ -222,6 +225,10 @@ val minimalJar by tasks.creating(ShadowJar::class) {
222225
from(sourceSets["main"].output)
223226
exclude("natives/**") // ~2 MB
224227
exclude("com/sun/jna/**") // ~1 MB
228+
exclude("com/google/crypto/tink/**") // ~2 MB
229+
exclude("com/google/gson/**") // ~300 KB
230+
exclude("com/google/protobuf/**") // ~2 MB
231+
exclude("google/protobuf/**")
225232
exclude("club/minnced/opus/util/*")
226233
exclude("tomp2p/opuswrapper/*")
227234
manifest.inheritFrom(jar.manifest)

settings.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ dependencyResolutionManagement {
2323
library("mockito", "org.mockito", "mockito-core" ).version("5.11.0")
2424
library("reflections", "org.reflections", "reflections" ).version("0.10.2")
2525
library("slf4j", "org.slf4j", "slf4j-api" ).version("2.0.13")
26+
library("tink", "com.google.crypto.tink", "tink" ).version("1.14.1")
2627
}
2728
}
2829
}

0 commit comments

Comments
 (0)