build: update dependencies (#479)

* build: update libraries
* ci: remove android workflow

---------

Co-authored-by: auth <64337177+authorisation@users.noreply.github.com>
Co-authored-by: rhunk <101876869+rhunk@users.noreply.github.com>
This commit is contained in:
Caner Karaca
2023-12-10 01:52:02 +03:00
committed by GitHub
parent 62396885e2
commit fc62f1b73f
16 changed files with 269 additions and 262 deletions

View File

@@ -16,7 +16,7 @@ android {
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.2"
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
}
defaultConfig {
@@ -101,12 +101,12 @@ android {
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "17"
}
}

View File

@@ -15,7 +15,7 @@ import javax.crypto.spec.SecretKeySpec
class E2EEImplementation (
private val context: RemoteSideContext
) : E2eeInterface.Stub() {
private val kyberDefaultParameters = KyberParameters.kyber1024_aes
private val kyberDefaultParameters = KyberParameters.kyber1024
private val secureRandom = SecureRandom()
private val e2eeFolder by lazy { File(context.androidContext.filesDir, "e2ee").also {