Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partially revert library update #1013

Merged
merged 3 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
plugins {
alias libs.plugins.compose.compiler
alias libs.plugins.android.application
alias libs.plugins.kotlin.android
alias libs.plugins.hilt
Expand Down Expand Up @@ -146,6 +145,9 @@ android {
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion rootProject.ext.kotlinCompilerExtensionVersion
}
packagingOptions {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
Expand Down Expand Up @@ -177,10 +179,6 @@ sonarqube {
}
}

composeCompiler {
enableStrongSkippingMode = true
}

dependencies {
implementation project(path: ':core')

Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ buildscript {
compileSdk = 34
targetSdk = 33
internalVersionName = "babylon"
kotlinCompilerExtensionVersion = "1.5.8"
}
dependencies {
classpath libs.detektGradlePlugin
classpath libs.orgJacocoCore
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.5"
classpath "org.jacoco:org.jacoco.core:0.8.11"
}
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
alias libs.plugins.compose.compiler apply false
alias libs.plugins.android.application apply false
alias libs.plugins.android.library apply false
alias libs.plugins.kotlin.android apply false
Expand Down
4 changes: 3 additions & 1 deletion designsystem/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
plugins {
alias libs.plugins.compose.compiler
alias libs.plugins.android.library
alias libs.plugins.kotlin.android
}
Expand Down Expand Up @@ -33,6 +32,9 @@ android {
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion rootProject.ext.kotlinCompilerExtensionVersion
}
}

dependencies {
Expand Down
60 changes: 28 additions & 32 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
[versions]
androidxCore = "1.13.1"
androidx-lifecycle-runtime-ktx = "2.8.2"
androidx-lifecycle-viewmodel-ktx = "2.8.2"
detektGradlePlugin = "1.23.6"
lifecycleViewModelCompose = "2.8.2"
lifecycelRuntimeCompose = "2.8.2"
compose = "1.6.8"
androidx-lifecycle-runtime-ktx = "2.7.0"
androidx-lifecycle-viewmodel-ktx = "2.7.0"
lifecycleViewModelCompose = "2.7.0"
lifecycelRuntimeCompose = "2.7.0"
compose = "1.6.2"
composeConstraintLayout = "1.1.0-alpha13"
composeActivity = "1.9.0"
composeActivity = "1.8.2"
composeNavigation = "2.7.7"
material = "1.12.0"
composeMaterial3 = "1.2.1"
material3WindowSizeClass = "1.2.1"
orgJacocoCore = "0.8.12"
material = "1.11.0"
composeMaterial3 = "1.2.0"
material3WindowSizeClass = "1.1.2"
splash = "1.0.1"
immutableCollections = "0.3.7"
accompanist = "0.34.0"
Expand All @@ -21,8 +19,8 @@ hilt = "2.51.1"
hiltNavigation = "1.2.0"
biometricKtx = "1.2.0-alpha05"
coilCompose = "2.6.0"
kotlinxSerialization = "1.7.0"
sargon = "1.0.15-b7ddec52"
kotlinxSerialization = "1.6.2"
sargon = "1.0.19-adaddc1a"
okhttpBom = "5.0.0-alpha.12"
retrofit = "2.11.0"
retrofitKoltinxConverter = "1.0.0"
Expand All @@ -39,12 +37,12 @@ mockk = "1.13.11"
coroutinesTest = "1.7.3"
mockitoKotlin = "5.3.1"
mockitoInline = "5.2.0"
androidXJunit = "1.1.5"
kotlinTestJunit = "2.0.0"
espresso = "3.5.1"
espressoIntents = "3.5.1"
composeUiTestJunit = "1.6.8"
composeUiTooling = "1.6.8"
androidXJunit = "1.2.1"
kotlinTestJunit = "1.9.22"
espresso = "3.6.1"
espressoIntents = "3.6.1"
composeUiTestJunit = "1.6.2"
composeUiTooling = "1.6.2"
ktor = "2.3.11"
slf4j = "2.0.13"
turbine = "1.1.0"
Expand All @@ -59,22 +57,22 @@ googleApiClient = "2.3.0"
googleApiServicesDrive = "v3-rev20240123-2.0.0"
workManagerRuntimeKtx = "2.9.0"
androidXHiltWorker = "1.2.0"
androidApplicationPlugin = "8.5.0"
androidLibraryPlugin = "8.5.0"
kotlinSerializationPlugin = "2.0.0"
kotlinJvmPlugin = "2.0.0"

androidApplicationPlugin = "8.2.2"
androidLibraryPlugin = "8.2.2"
kotlinAndroidPlugin = "1.9.22"
kotlinSerializationPlugin = "1.9.22"
kotlinJvmPlugin = "1.9.22"
benManesVersionsPlugin = "0.51.0"
versionCatalogUpdatePlugin = "0.8.4"
googleServicesPlugin = "4.4.2"
firebaseCrashlyticsPlugin = "3.0.2"
hiltPlugin = "2.51.1"
sonarqubePlugin = "5.0.0.4638"
kspPlugin = "2.0.0-1.0.22"
kotlin = "2.0.0"
kspPlugin = "1.9.22-1.0.17"

[libraries]
androidxCore = { module = "androidx.core:core-ktx", version.ref = "androidxCore" }
detektGradlePlugin = { module = "io.gitlab.arturbosch.detekt:detekt-gradle-plugin", version.ref = "detektGradlePlugin" }
lifecycleRuntimeKtx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidx-lifecycle-runtime-ktx" }
lifecycleViewmodelKtx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-lifecycle-viewmodel-ktx" }
lifecycleViewModelCompose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycleViewModelCompose" }
Expand All @@ -90,7 +88,6 @@ material = { module = "com.google.android.material:material", version.ref = "mat
composeMaterial = { module = "androidx.compose.material:material", version.ref = "compose" }
composeMaterial3 = { module = "androidx.compose.material3:material3", version.ref = "composeMaterial3" }
material3WindowSizeClass = { module = "androidx.compose.material3:material3-window-size-class", version.ref = "material3WindowSizeClass" }
orgJacocoCore = { module = "org.jacoco:org.jacoco.core", version.ref = "orgJacocoCore" }
splash = { module = "androidx.core:core-splashscreen", version.ref = "splash" }
immutableCollections = { module = "org.jetbrains.kotlinx:kotlinx-collections-immutable", version.ref = "immutableCollections" }
accompanistPagerIndicators = { module = "com.google.accompanist:accompanist-pager-indicators", version.ref = "accompanist" }
Expand Down Expand Up @@ -155,13 +152,13 @@ playServicesAuth = { module = "com.google.android.gms:play-services-auth", versi
googleApiClient = { module = "com.google.api-client:google-api-client-android", version.ref = "googleApiClient" }
googleApiServicesDrive = { module = "com.google.apis:google-api-services-drive", version.ref = "googleApiServicesDrive" }
workManagerRuntimeKtx = { module = "androidx.work:work-runtime-ktx", version.ref = "workManagerRuntimeKtx" }
androidXHiltWorker = { module = "androidx.hilt:hilt-work", version.ref = "androidXHiltWorker" }
androidXHiltCompiler = { module = "androidx.hilt:hilt-compiler", version.ref = "androidXHiltWorker" }
androidXHiltWorker= { module = "androidx.hilt:hilt-work", version.ref = "androidXHiltWorker" }
androidXHiltCompiler= { module = "androidx.hilt:hilt-compiler", version.ref = "androidXHiltWorker" }

[plugins]
android-application = { id = "com.android.application", version.ref = "androidApplicationPlugin" }
android-library = { id = "com.android.library", version.ref = "androidLibraryPlugin" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlinAndroidPlugin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlinSerializationPlugin" }
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlinJvmPlugin" }
ben-manes-versions = { id = "com.github.ben-manes.versions", version.ref = "benManesVersionsPlugin" }
Expand All @@ -170,5 +167,4 @@ google-services = { id = "com.google.gms.google-services", version.ref = "google
firebase-crashlytics = { id = "com.google.firebase.crashlytics", version.ref = "firebaseCrashlyticsPlugin" }
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hiltPlugin" }
sonarqube = { id = "org.sonarqube", version.ref = "sonarqubePlugin" }
ksp = { id = "com.google.devtools.ksp", version.ref = "kspPlugin" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
ksp = { id = "com.google.devtools.ksp", version.ref = "kspPlugin" }
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Jun 19 16:29:17 CEST 2024
#Mon Feb 05 11:22:31 CET 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import com.radixdlt.sargon.extensions.toJson
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.flow.firstOrNull
import kotlinx.coroutines.withContext
import okhttp3.internal.http.HTTP_FORBIDDEN
import okhttp3.internal.http.HTTP_NOT_FOUND
import okhttp3.internal.http.HTTP_UNAUTHORIZED
import rdx.works.core.domain.cloudbackup.GoogleDriveFileId
import rdx.works.core.domain.cloudbackup.LastCloudBackupEvent
import rdx.works.core.mapError
Expand All @@ -22,9 +25,6 @@ import rdx.works.profile.domain.backup.CloudBackupFileEntity
import rdx.works.profile.domain.backup.toCloudBackupProperties
import timber.log.Timber
import java.io.ByteArrayOutputStream
import java.net.HttpURLConnection.HTTP_FORBIDDEN
import java.net.HttpURLConnection.HTTP_NOT_FOUND
import java.net.HttpURLConnection.HTTP_UNAUTHORIZED
import javax.inject.Inject

interface DriveClient {
Expand Down
Loading