Skip to content

Commit

Permalink
Update project
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbel committed Mar 1, 2024
1 parent dfc2140 commit e87af29
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 28 deletions.
6 changes: 1 addition & 5 deletions android-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ dependencies {
gmsImplementation(project(":core:platform-services:inject"))
hmsImplementation(project(":core:platform-services:inject"))
fossImplementation(project(":core:platform-services:inject"))

implementation(project(":core:analytics"))
implementation(project(":core:common"))
implementation(project(":core:interactor"))
Expand All @@ -186,15 +185,12 @@ dependencies {
implementation(project(":feature:gallery"))
implementation(project(":feature:search"))
implementation(project(":feature:settings"))

implementation(libs.kotlin.reflect)

testImplementation(libs.junit)
androidTestImplementation(libs.bundles.test.espresso)
androidTestImplementation(libs.androidx.test.ext.junit.ktx)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
androidTestImplementation(libs.androidx.benchmark.junit)

lintChecks(libs.lint.checks)
}

Expand Down
2 changes: 1 addition & 1 deletion benchmark/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ android {
}*/

dependencies {
implementation(libs.bundles.test.espresso)
implementation(libs.androidx.benchmark.macro.junit)
implementation(libs.androidx.espresso.core)
implementation(libs.androidx.test.ext.junit.ktx)
implementation(libs.androidx.test.uiautomator)
}
4 changes: 1 addition & 3 deletions feature/account-impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,11 @@ dependencies {
implementation(project(":core:network"))
implementation(libs.androidx.work.runtime.ktx)
implementation(libs.androidx.hilt.work)

testImplementation(libs.junit)
androidTestImplementation(libs.bundles.test.espresso)
androidTestImplementation(libs.androidx.test.ext.junit.ktx)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
androidTestImplementation(libs.androidx.benchmark.junit)
debugImplementation(libs.androidx.compose.ui.test.manifest)

lintChecks(libs.lint.checks)
}
5 changes: 1 addition & 4 deletions feature/auth-impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,12 @@ dependencies {
implementation(project(":core:common"))
implementation(project(":core:interactor"))
implementation(project(":core:network"))

implementation(libs.androidx.autofill)

testImplementation(libs.junit)
androidTestImplementation(libs.bundles.test.espresso)
androidTestImplementation(libs.androidx.test.ext.junit.ktx)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
androidTestImplementation(libs.androidx.benchmark.junit)
debugImplementation(libs.androidx.compose.ui.test.manifest)

lintChecks(libs.lint.checks)
}
4 changes: 1 addition & 3 deletions feature/details-impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,11 @@ dependencies {
implementation(project(":core:common"))
implementation(project(":core:interactor"))
implementation(project(":core:network"))

testImplementation(libs.junit)
androidTestImplementation(libs.bundles.test.espresso)
androidTestImplementation(libs.androidx.test.ext.junit.ktx)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
androidTestImplementation(libs.androidx.benchmark.junit)
debugImplementation(libs.androidx.compose.ui.test.manifest)

lintChecks(libs.lint.checks)
}
4 changes: 1 addition & 3 deletions feature/feed-impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,11 @@ dependencies {
implementation(project(":core:interactor"))
implementation(project(":core:network"))
implementation(project(":core:notifications"))

testImplementation(libs.junit)
androidTestImplementation(libs.bundles.test.espresso)
androidTestImplementation(libs.androidx.test.ext.junit.ktx)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
androidTestImplementation(libs.androidx.benchmark.junit)
debugImplementation(libs.androidx.compose.ui.test.manifest)

lintChecks(libs.lint.checks)
}
4 changes: 1 addition & 3 deletions feature/gallery-impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,11 @@ dependencies {
implementation(project(":core:interactor"))
implementation(project(":core:network"))
implementation(project(":core:work"))

testImplementation(libs.junit)
androidTestImplementation(libs.bundles.test.espresso)
androidTestImplementation(libs.androidx.test.ext.junit.ktx)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
androidTestImplementation(libs.androidx.benchmark.junit)
debugImplementation(libs.androidx.compose.ui.test.manifest)

lintChecks(libs.lint.checks)
}
4 changes: 1 addition & 3 deletions feature/search-impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,11 @@ dependencies {
implementation(project(":core:interactor"))
implementation(project(":core:network"))
implementation(project(":core:notifications"))

testImplementation(libs.junit)
androidTestImplementation(libs.bundles.test.espresso)
androidTestImplementation(libs.androidx.test.ext.junit.ktx)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
androidTestImplementation(libs.androidx.benchmark.junit)
debugImplementation(libs.androidx.compose.ui.test.manifest)

lintChecks(libs.lint.checks)
}
4 changes: 1 addition & 3 deletions feature/settings-impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,11 @@ dependencies {
api(project(":core:common"))
api(project(":core:ui"))
implementation(project(":core:interactor"))

testImplementation(libs.junit)
androidTestImplementation(libs.bundles.test.espresso)
androidTestImplementation(libs.androidx.test.ext.junit.ktx)
androidTestImplementation(libs.androidx.espresso.core)
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
androidTestImplementation(libs.androidx.benchmark.junit)
debugImplementation(libs.androidx.compose.ui.test.manifest)

lintChecks(libs.lint.checks)
}
7 changes: 7 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ androidx-test = "1.5.2"
androidx-test-ext = "1.1.5"
androidx-test-uiautomator = "2.3.0"
androidx-espresso-core = "3.5.1"
androidx-test-espresso = "3.5.1"
androidx-benchmark = "1.2.3"
androidx-profile-installer = "1.3.1"
androidx-work = "2.9.0"
Expand Down Expand Up @@ -128,6 +129,8 @@ androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidx-
androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidx-test" }
androidx-test-ext-junit-ktx = { module = "androidx.test.ext:junit-ktx", version.ref = "androidx-test-ext" }
androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidx-espresso-core" }
androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidx-test-espresso" }
androidx-test-espresso-device = { module = "androidx.test.espresso:espresso-device", version.ref = "androidx-test-espresso" }
androidx-benchmark-junit = { module = "androidx.benchmark:benchmark-junit4", version.ref = "androidx-benchmark" }
androidx-benchmark-macro-junit = { module = "androidx.benchmark:benchmark-macro-junit4", version.ref = "androidx-benchmark" }
androidx-test-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "androidx-test-uiautomator" }
Expand Down Expand Up @@ -221,6 +224,10 @@ ktor = [
"ktor-client-content-negotiation",
"ktor-serialization-kotlinx-json"
]
test-espresso = [
"androidx-test-espresso-core",
"androidx-test-espresso-device"
]

[plugins]
kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
Expand Down

0 comments on commit e87af29

Please sign in to comment.