Skip to content

Commit

Permalink
Add necessary dependencies as api dependencies (#99)
Browse files Browse the repository at this point in the history
* Add necessary dependencies as api dependencies

* Fix

* Fix for fix
  • Loading branch information
rbro112 authored Oct 27, 2023
1 parent 42d46c9 commit 41a377b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ grgit = { id = "org.ajoberstar.grgit", version = "5.0.0" }
[libraries]
android-gradle-plugin = "com.android.tools.build:gradle:7.3.1"

androidx-activity-activity = { module = "androidx.activity:activity", version.ref = "androidxactivity" }
androidx-activity = { module = "androidx.activity:activity", version.ref = "androidxactivity" }
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxactivity" }
androidx-benchmark-common = { module = "androidx.benchmark:benchmark-common", version = "1.2.0-beta05" }
androidx-benchmark-macro = { module = "androidx.benchmark:benchmark-macro", version = "1.2.0-beta05" }
Expand Down
2 changes: 1 addition & 1 deletion performance/sample/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ android {
}

dependencies {
implementation(libs.androidx.activity.activity)
implementation(libs.androidx.activity)
implementation(libs.androidx.activity.compose)

implementation(platform(libs.compose.bom))
Expand Down
2 changes: 1 addition & 1 deletion snapshots/sample/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ android {
}

dependencies {
implementation(libs.androidx.activity.activity)
implementation(libs.androidx.activity)
implementation(libs.androidx.activity.compose)

implementation(projects.snapshots.sample.uiModule)
Expand Down
3 changes: 2 additions & 1 deletion snapshots/snapshots/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ android {
dependencies {

implementation(libs.junit)
implementation(libs.androidx.test.runner)
implementation(libs.androidx.test.rules)

implementation(platform(libs.compose.bom))
Expand All @@ -55,9 +54,11 @@ dependencies {
implementation(libs.kotlinx.serialization)

api(projects.snapshots.snapshotsShared)
api(libs.androidx.activity)
api(libs.androidx.test.core)
api(libs.androidx.test.core.ktx)
api(libs.androidx.test.ext.junit)
api(libs.androidx.test.runner)
api(libs.compose.ui.test.junit)

testImplementation(libs.junit)
Expand Down

0 comments on commit 41a377b

Please sign in to comment.