mirror of
https://github.com/twofas/2fas-android.git
synced 2024-11-21 17:59:50 +01:00
Bump dependencies
This commit is contained in:
parent
1c3f326351
commit
7815e3e271
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,6 +7,7 @@
|
|||||||
/captures
|
/captures
|
||||||
Gemfile
|
Gemfile
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
|
.kotlin/*
|
||||||
|
|
||||||
# Built application files
|
# Built application files
|
||||||
/*/build/
|
/*/build/
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
import org.jetbrains.kotlin.gradle.plugin.mpp.pm20.util.archivesName
|
|
||||||
|
|
||||||
@Suppress("DSL_SCOPE_VIOLATION")
|
@Suppress("DSL_SCOPE_VIOLATION")
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.twofasAndroidApplication)
|
alias(libs.plugins.twofasAndroidApplication)
|
||||||
@ -14,15 +12,19 @@ plugins {
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "com.twofasapp"
|
namespace = "com.twofasapp"
|
||||||
|
val versionCodeOffset = 5000000
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "com.twofasapp"
|
applicationId = "com.twofasapp"
|
||||||
versionName = "5.4.5"
|
versionName = "5.4.5"
|
||||||
versionCode = 5000022
|
versionCode = 5000022
|
||||||
|
}
|
||||||
|
|
||||||
val versionCodeOffset = 5000000
|
applicationVariants.all {
|
||||||
|
outputs.all {
|
||||||
archivesName.set("TwoFas-$versionName-${versionCode!! - versionCodeOffset}")
|
val output = this as? com.android.build.gradle.internal.api.BaseVariantOutputImpl
|
||||||
|
output?.outputFileName = "TwoFas-$versionName-${versionCode - versionCodeOffset}.apk"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ksp {
|
ksp {
|
||||||
|
@ -48,13 +48,6 @@ class StartActivity : AppCompatActivity(), AuthAware {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onNewIntent(intent: Intent?) {
|
|
||||||
super.onNewIntent(intent)
|
|
||||||
// intent?.data?.let {
|
|
||||||
// deeplinkHandler.setQueuedDeeplink(incomingData = it.toString())
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onAuthenticated() {
|
override fun onAuthenticated() {
|
||||||
intent?.data?.let {
|
intent?.data?.let {
|
||||||
deeplinkHandler.setQueuedDeeplink(incomingData = it.toString())
|
deeplinkHandler.setQueuedDeeplink(incomingData = it.toString())
|
||||||
|
@ -17,6 +17,7 @@ plugins {
|
|||||||
alias(libs.plugins.kotlinSerialization) apply false
|
alias(libs.plugins.kotlinSerialization) apply false
|
||||||
alias(libs.plugins.kotlinParcelize) apply false
|
alias(libs.plugins.kotlinParcelize) apply false
|
||||||
alias(libs.plugins.kotlinKapt) apply false
|
alias(libs.plugins.kotlinKapt) apply false
|
||||||
|
alias(libs.plugins.kotlinComposeCompiler) apply false
|
||||||
alias(libs.plugins.gradleVersions)
|
alias(libs.plugins.gradleVersions)
|
||||||
alias(libs.plugins.versionCatalogUpdate)
|
alias(libs.plugins.versionCatalogUpdate)
|
||||||
}
|
}
|
||||||
|
@ -9,14 +9,12 @@ import org.gradle.api.Project
|
|||||||
class TwoFasComposePlugin : Plugin<Project> {
|
class TwoFasComposePlugin : Plugin<Project> {
|
||||||
override fun apply(target: Project) {
|
override fun apply(target: Project) {
|
||||||
with(target) {
|
with(target) {
|
||||||
|
pluginManager.apply("org.jetbrains.kotlin.plugin.compose")
|
||||||
|
|
||||||
getBuildExtension()?.apply {
|
getBuildExtension()?.apply {
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
compose = true
|
compose = true
|
||||||
}
|
}
|
||||||
|
|
||||||
composeOptions {
|
|
||||||
kotlinCompilerExtensionVersion = libs.findVersionString("composeCompiler")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,20 @@
|
|||||||
[versions]
|
[versions]
|
||||||
accompanist = "0.34.0"
|
accompanist = "0.34.0"
|
||||||
agp = "8.4.0"
|
agp = "8.5.1"
|
||||||
cameraX = "1.3.1"
|
cameraX = "1.3.4"
|
||||||
coil = "2.5.0"
|
coil = "2.6.0"
|
||||||
commonmark = "0.21.0"
|
commonmark = "0.21.0"
|
||||||
compose = "1.6.4"
|
compose = "1.6.8"
|
||||||
composeActivity = "1.8.2"
|
composeActivity = "1.9.0"
|
||||||
composeCompiler = "1.5.11"
|
core = "1.13.1"
|
||||||
core = "1.12.0"
|
firebase = "33.1.2"
|
||||||
firebase = "32.7.2"
|
glance = "1.1.0"
|
||||||
glance = "1.0.0"
|
|
||||||
junit = "4.13.2"
|
junit = "4.13.2"
|
||||||
koin = "3.5.3"
|
koin = "3.5.3"
|
||||||
koinAndroid = "3.5.3"
|
koinAndroid = "3.5.3"
|
||||||
kotlin = "1.9.23"
|
kotlin = "2.0.0"
|
||||||
kotlinCoroutines = "1.8.0"
|
kotlinCoroutines = "1.9.0-RC"
|
||||||
kotlinKsp = "1.9.23-1.0.19"
|
kotlinKsp = "2.0.0-1.0.22"
|
||||||
ktor = "2.3.7"
|
ktor = "2.3.7"
|
||||||
lifecycle = "2.7.0"
|
lifecycle = "2.7.0"
|
||||||
material3 = "1.2.1"
|
material3 = "1.2.1"
|
||||||
@ -42,7 +41,6 @@ commonmarkStrikethrough = { module = "org.commonmark:commonmark-ext-gfm-striketh
|
|||||||
commonmarkTables = { module = "org.commonmark:commonmark-ext-gfm-tables", version.ref = "commonmark" }
|
commonmarkTables = { module = "org.commonmark:commonmark-ext-gfm-tables", version.ref = "commonmark" }
|
||||||
composeActivity = { module = "androidx.activity:activity-compose", version.ref = "composeActivity" }
|
composeActivity = { module = "androidx.activity:activity-compose", version.ref = "composeActivity" }
|
||||||
composeAnimation = { module = "androidx.compose.animation:animation", version.ref = "compose" }
|
composeAnimation = { module = "androidx.compose.animation:animation", version.ref = "compose" }
|
||||||
composeCompiler = { module = "androidx.compose.compiler:compiler", version.ref = "composeCompiler" }
|
|
||||||
composeMaterial2 = { module = "androidx.compose.material:material", version.ref = "compose" }
|
composeMaterial2 = { module = "androidx.compose.material:material", version.ref = "compose" }
|
||||||
composeNavigation = "androidx.navigation:navigation-compose:2.7.7"
|
composeNavigation = "androidx.navigation:navigation-compose:2.7.7"
|
||||||
composeUi = { module = "androidx.compose.ui:ui", version.ref = "compose" }
|
composeUi = { module = "androidx.compose.ui:ui", version.ref = "compose" }
|
||||||
@ -50,7 +48,7 @@ composeUiTooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "c
|
|||||||
composeUiUtil = { module = "androidx.compose.ui:ui-util", version.ref = "compose" }
|
composeUiUtil = { module = "androidx.compose.ui:ui-util", version.ref = "compose" }
|
||||||
core = { module = "androidx.core:core-ktx", version.ref = "core" }
|
core = { module = "androidx.core:core-ktx", version.ref = "core" }
|
||||||
coreSplash = "androidx.core:core-splashscreen:1.0.1"
|
coreSplash = "androidx.core:core-splashscreen:1.0.1"
|
||||||
dataStore = "androidx.datastore:datastore-preferences:1.0.0"
|
dataStore = "androidx.datastore:datastore-preferences:1.1.1"
|
||||||
desugar = "com.android.tools:desugar_jdk_libs:2.0.4"
|
desugar = "com.android.tools:desugar_jdk_libs:2.0.4"
|
||||||
firebaseBom = { module = "com.google.firebase:firebase-bom", version.ref = "firebase" }
|
firebaseBom = { module = "com.google.firebase:firebase-bom", version.ref = "firebase" }
|
||||||
firebaseCrashlytics = { module = "com.google.firebase:firebase-crashlytics-ktx" }
|
firebaseCrashlytics = { module = "com.google.firebase:firebase-crashlytics-ktx" }
|
||||||
@ -59,7 +57,7 @@ glanceWidget = { module = "androidx.glance:glance-appwidget", version.ref = "gla
|
|||||||
googleApiClientAndroid = "com.google.api-client:google-api-client-android:2.4.0"
|
googleApiClientAndroid = "com.google.api-client:google-api-client-android:2.4.0"
|
||||||
#googleApiClientGson = "com.github.rafakob.google-http-java-client:google-http-client-gson:1.43.0"
|
#googleApiClientGson = "com.github.rafakob.google-http-java-client:google-http-client-gson:1.43.0"
|
||||||
googleApiClientGson = "com.google.http-client:google-http-client:1.44.1"
|
googleApiClientGson = "com.google.http-client:google-http-client:1.44.1"
|
||||||
googleAuth = "com.google.android.gms:play-services-auth:21.0.0"
|
googleAuth = "com.google.android.gms:play-services-auth:21.2.0"
|
||||||
googleDrive = "com.google.apis:google-api-services-drive:v3-rev20240123-2.0.0"
|
googleDrive = "com.google.apis:google-api-services-drive:v3-rev20240123-2.0.0"
|
||||||
javaxInject = "javax.inject:javax.inject:1"
|
javaxInject = "javax.inject:javax.inject:1"
|
||||||
junit = { module = "junit:junit", version.ref = "junit" }
|
junit = { module = "junit:junit", version.ref = "junit" }
|
||||||
@ -68,7 +66,7 @@ koinCompose = { module = "io.insert-koin:koin-androidx-compose", version.ref = "
|
|||||||
koinTest = { module = "io.insert-koin:koin-test", version.ref = "koin" }
|
koinTest = { module = "io.insert-koin:koin-test", version.ref = "koin" }
|
||||||
koinTestJunit = { module = "io.insert-koin:koin-test-junit4", version.ref = "koin" }
|
koinTestJunit = { module = "io.insert-koin:koin-test-junit4", version.ref = "koin" }
|
||||||
kotlinCoroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinCoroutines" }
|
kotlinCoroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinCoroutines" }
|
||||||
kotlinSerialization = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2"
|
kotlinSerialization = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.0"
|
||||||
ktorAuth = { module = "io.ktor:ktor-client-auth", version.ref = "ktor" }
|
ktorAuth = { module = "io.ktor:ktor-client-auth", version.ref = "ktor" }
|
||||||
ktorContentNegotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
|
ktorContentNegotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktor" }
|
||||||
ktorCore = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
|
ktorCore = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
|
||||||
@ -87,7 +85,7 @@ material3 = { module = "androidx.compose.material3:material3", version.ref = "ma
|
|||||||
material3Window = { module = "androidx.compose.material3:material3-window-size-class", version.ref = "material3" }
|
material3Window = { module = "androidx.compose.material3:material3-window-size-class", version.ref = "material3" }
|
||||||
playReview = "com.google.android.play:review:2.0.1"
|
playReview = "com.google.android.play:review:2.0.1"
|
||||||
playReviewKtx = "com.google.android.play:review-ktx:2.0.1"
|
playReviewKtx = "com.google.android.play:review-ktx:2.0.1"
|
||||||
playServicesCorutines = "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.8.0"
|
playServicesCorutines = "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.8.1"
|
||||||
playUpdate = "com.google.android.play:app-update:2.1.0"
|
playUpdate = "com.google.android.play:app-update:2.1.0"
|
||||||
playUpdateKtx = "com.google.android.play:app-update-ktx:2.1.0"
|
playUpdateKtx = "com.google.android.play:app-update-ktx:2.1.0"
|
||||||
protobuf = "com.google.protobuf:protobuf-kotlin-lite:3.19.1"
|
protobuf = "com.google.protobuf:protobuf-kotlin-lite:3.19.1"
|
||||||
@ -100,8 +98,8 @@ securityCrypto = "androidx.security:security-crypto:1.1.0-alpha06"
|
|||||||
sharedPrefs = "androidx.preference:preference-ktx:1.2.1"
|
sharedPrefs = "androidx.preference:preference-ktx:1.2.1"
|
||||||
sqlCipher = "net.zetetic:android-database-sqlcipher:4.5.4"
|
sqlCipher = "net.zetetic:android-database-sqlcipher:4.5.4"
|
||||||
timber = "com.jakewharton.timber:timber:5.0.1"
|
timber = "com.jakewharton.timber:timber:5.0.1"
|
||||||
webkit = "androidx.webkit:webkit:1.10.0"
|
webkit = "androidx.webkit:webkit:1.11.0"
|
||||||
workManager = "androidx.work:work-runtime-ktx:2.9.0"
|
workManager = "androidx.work:work-runtime-ktx:2.9.1"
|
||||||
|
|
||||||
[bundles]
|
[bundles]
|
||||||
accompanist = [
|
accompanist = [
|
||||||
@ -185,6 +183,7 @@ kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
|||||||
kotlinKapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
|
kotlinKapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
|
||||||
kotlinParcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
|
kotlinParcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
|
||||||
kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
||||||
|
kotlinComposeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
||||||
ksp = { id = "com.google.devtools.ksp", version.ref = "kotlinKsp" }
|
ksp = { id = "com.google.devtools.ksp", version.ref = "kotlinKsp" }
|
||||||
protobuf = "com.google.protobuf:0.9.1"
|
protobuf = "com.google.protobuf:0.9.1"
|
||||||
twofasAndroidApplication = "twofas.androidApplication:unspecified"
|
twofasAndroidApplication = "twofas.androidApplication:unspecified"
|
||||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
|
Loading…
Reference in New Issue
Block a user