Skip to content

Commit

Permalink
Upgrade to voice gateway v8 (#2717)
Browse files Browse the repository at this point in the history
* Upgrade to voice gateway v8
* Implement new encryption modes using tink (#2718)
  • Loading branch information
MinnDevelopment authored Aug 21, 2024
1 parent a8bf714 commit c5b0a6d
Show file tree
Hide file tree
Showing 10 changed files with 470 additions and 3,596 deletions.
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ dependencies {
implementation(libs.trove4j)
implementation(libs.bundles.jackson)

//Audio crypto libraries
implementation(libs.tink)

//Sets the dependencies for the examples
configurations["examplesImplementation"].withDependencies {
addAll(configurations["api"].allDependencies)
Expand Down Expand Up @@ -222,6 +225,10 @@ val minimalJar by tasks.creating(ShadowJar::class) {
from(sourceSets["main"].output)
exclude("natives/**") // ~2 MB
exclude("com/sun/jna/**") // ~1 MB
exclude("com/google/crypto/tink/**") // ~2 MB
exclude("com/google/gson/**") // ~300 KB
exclude("com/google/protobuf/**") // ~2 MB
exclude("google/protobuf/**")
exclude("club/minnced/opus/util/*")
exclude("tomp2p/opuswrapper/*")
manifest.inheritFrom(jar.manifest)
Expand Down
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencyResolutionManagement {
library("mockito", "org.mockito", "mockito-core" ).version("5.11.0")
library("reflections", "org.reflections", "reflections" ).version("0.10.2")
library("slf4j", "org.slf4j", "slf4j-api" ).version("2.0.13")
library("tink", "com.google.crypto.tink", "tink" ).version("1.14.1")
}
}
}
Loading

0 comments on commit c5b0a6d

Please sign in to comment.