diff --git a/.github/workflows/android-develop.yml b/.github/workflows/android-develop.yml index 962345307..386167c08 100644 --- a/.github/workflows/android-develop.yml +++ b/.github/workflows/android-develop.yml @@ -42,7 +42,7 @@ jobs: # Build Debug App - name: Build with Gradle - run: ./gradlew assembleDebug + run: ./gradlew :app:assembleDebug # Run unit test - name: Run unit test diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 95f6b44bc..588e683d1 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -48,11 +48,11 @@ jobs: # Build APK Release - name: Build release Apk - run: ./gradlew assembleRelease + run: ./gradlew :app:assembleRelease # Build AAB Release - name: Build release Bundle - run: ./gradlew bundleRelease + run: ./gradlew :app:bundleRelease # Upload AAB - name: Upload a Build AAB Artifact diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml index 6d0ee1c2a..5815a4a6c 100644 --- a/.idea/kotlinc.xml +++ b/.idea/kotlinc.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/core/designsystem/src/main/java/com/ku_stacks/ku_ring/designsystem/components/KuringSwitch.kt b/core/designsystem/src/main/java/com/ku_stacks/ku_ring/designsystem/components/KuringSwitch.kt index 6f4d0c607..5ec2067f5 100644 --- a/core/designsystem/src/main/java/com/ku_stacks/ku_ring/designsystem/components/KuringSwitch.kt +++ b/core/designsystem/src/main/java/com/ku_stacks/ku_ring/designsystem/components/KuringSwitch.kt @@ -35,7 +35,7 @@ import androidx.compose.material.LocalAbsoluteElevation import androidx.compose.material.LocalElevationOverlay import androidx.compose.material.Switch import androidx.compose.material.minimumInteractiveComponentSize -import androidx.compose.material.ripple.rememberRipple +import androidx.compose.material.ripple import androidx.compose.runtime.Composable import androidx.compose.runtime.Immutable import androidx.compose.runtime.LaunchedEffect @@ -259,7 +259,7 @@ private fun BoxScope.SwitchImpl( .offset { IntOffset(thumbValue().roundToInt(), 0) } .indication( interactionSource = interactionSource, - indication = rememberRipple(bounded = false, radius = ThumbRippleRadius) + indication = ripple(bounded = false, radius = ThumbRippleRadius) ) .requiredSize(ThumbDiameter) .shadow(elevation, CircleShape, clip = false) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4c8ea06cc..9e967ec32 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -21,27 +21,29 @@ kotlinx-serialization-json = "1.7.2" # Compose compose-compiler = '1.4.8' -compose-bom = '2024.08.00' +compose-bom = '2024.09.00' # Androidx -androidx-lifecycle = '2.8.4' +androidx-lifecycle = '2.8.5' androidx-appcompat = "1.7.0" androidx-constraintlayout = "2.1.4" androidx-constraintlayout-compose = "1.0.1" -androidx-activity = '1.9.1' +androidx-activity = '1.9.2' androidx-core = "1.13.1" -androidx-fragment = '1.8.2' +androidx-fragment = '1.8.3' androidx-paging = '3.3.2' androidx-room = '2.6.1' androidx-viewpager2 = '1.1.0' androidx-work = '2.9.1' -androidx-navigation = "2.8.0-rc01" +androidx-navigation = "2.8.0" androidx-startup = '1.1.1' androidx-swiperefreshlayout = '1.2.0-alpha01' android-material = '1.12.0' androidx-hilt = "1.2.0" -androidx-test = "1.6.1" -desugarJdk = "2.1.1" +androidx-test-core = "1.6.1" +androidx-test-rules = "1.6.1" +androidx-test = "1.6.2" +desugarJdk = "2.1.2" # Test androidx-espresso = "3.6.1" @@ -52,7 +54,7 @@ okhttp = '4.12.0' retrofit = '2.11.0' firebase = '33.2.0' crashlytics = "3.0.2" -lottie = "6.5.1" +lottie = "6.5.2" ktor = "3.0.0-beta-2" [libraries] @@ -132,7 +134,7 @@ robolectric = 'org.robolectric:robolectric:4.13' # Android Test androidx-core-testing = 'androidx.arch.core:core-testing:2.2.0' -androidx-test-core = { module = 'androidx.test:core', version.ref = 'androidx-test' } +androidx-test-core = { module = 'androidx.test:core', version.ref = 'androidx-test-core' } androidx-fragment-testing = { module = 'androidx.fragment:fragment-testing', version.ref = 'androidx-fragment' } androidx-navigation-testing = { group = "androidx.navigation", name = "navigation-testing", version.ref = "androidx-navigation" } androidx-work-testing = { module = 'androidx.work:work-testing', version.ref = 'androidx-work' } @@ -143,13 +145,13 @@ androidx-espresso-intents = { module = 'androidx.test.espresso:espresso-intents' androidx-junit = 'androidx.test.ext:junit:1.2.1' mockito-android = 'org.mockito:mockito-android:5.13.0' androidx-test-runner = { module = 'androidx.test:runner', version.ref = 'androidx-test' } -androidx-test-rules = { module = 'androidx.test:rules', version.ref = 'androidx-test' } +androidx-test-rules = { module = 'androidx.test:rules', version.ref = 'androidx-test-rules' } # Firebase firebase-bom = { module = 'com.google.firebase:firebase-bom', version.ref = 'firebase' } -firebase-messaging-ktx = { module = 'com.google.firebase:firebase-messaging-ktx' } -firebase-analytics-ktx = { module = 'com.google.firebase:firebase-analytics-ktx' } -firebase-crashlytics-ktx = { module = 'com.google.firebase:firebase-crashlytics-ktx' } +firebase-messaging-ktx = { module = 'com.google.firebase:firebase-messaging' } +firebase-analytics-ktx = { module = 'com.google.firebase:firebase-analytics' } +firebase-crashlytics-ktx = { module = 'com.google.firebase:firebase-crashlytics' } # Lottie lottie-compose = { module = "com.airbnb.android:lottie-compose", version.ref = "lottie" }