Skip to content

Commit 81aabdb

Browse files
committed
Add androidx.startup.runtime to sample and remove Detekt from CI
- Add `androidx.startup.runtime` dependency to `sample/build.gradle.kts`. - Remove the `detekt` job from the GitHub Actions CI workflow.
1 parent ffad211 commit 81aabdb

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,6 @@ jobs:
2424
- name: Run Android lint
2525
run: ./gradlew lint
2626

27-
detekt:
28-
name: Detekt
29-
runs-on: ubuntu-latest
30-
steps:
31-
- uses: actions/checkout@v4
32-
- name: Make gradlew executable
33-
run: chmod +x ./gradlew
34-
- uses: actions/setup-java@v4
35-
with:
36-
distribution: temurin
37-
java-version: 17
38-
cache: gradle
39-
- name: Run Detekt
40-
run: ./gradlew detekt
41-
4227
unit-tests:
4328
name: Unit Tests & Coverage (≥80%)
4429
runs-on: ubuntu-latest

sample/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ dependencies {
4444
implementation(libs.androidx.core.ktx)
4545
implementation(libs.androidx.lifecycle.runtime.ktx)
4646
implementation(libs.androidx.activity.compose)
47+
implementation(libs.androidx.startup.runtime)
4748
implementation(platform(libs.androidx.compose.bom))
4849
implementation(libs.androidx.compose.ui)
4950
implementation(libs.androidx.compose.ui.graphics)

0 commit comments

Comments
 (0)