Skip to content

Commit

Permalink
[chore] #7 build-logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwook123 committed May 3, 2024
1 parent 2cf484b commit 47e6962
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build-logic/convention/src/main/java/FeaturePlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import org.gradle.api.Project
import org.gradle.api.artifacts.VersionCatalogsExtension
import org.gradle.kotlin.dsl.dependencies
import org.gradle.kotlin.dsl.getByType
import org.sopt.convention.libs

internal class FeaturePlugin : Plugin<Project> {
override fun apply(target: Project) {
Expand Down Expand Up @@ -33,12 +34,14 @@ internal class FeaturePlugin : Plugin<Project> {
"implementation"(libs.findLibrary("androidx.activity.ktx").get())
"implementation"(libs.findLibrary("androidx.fragment.ktx").get())
"implementation"(libs.findLibrary("androidx.recyclerview").get())
"implementation"(libs.findLibrary("androidx.paging").get())
"implementation"(libs.findLibrary("google.material").get())

"implementation"(libs.findLibrary("kotlinx.coroutines.android").get())
"implementation"(libs.findLibrary("kotlinx.coroutines.core").get())
"implementation"(libs.findLibrary("kotlinx.collections").get())

"implementation"(libs.findLibrary("coil").get())
"implementation"(libs.findLibrary("timber").get())
}
}
Expand Down
1 change: 1 addition & 0 deletions build-logic/convention/src/main/java/UnitTestPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class UnitTestPlugin : Plugin<Project> {
"testImplementation"(libs.findLibrary("kotlinx.coroutines.test").get())
"testImplementation"(libs.findLibrary("mockito").get())
"testImplementation"(libs.findLibrary("junit").get())
"testImplementation"(libs.findLibrary("robolectric").get())
}

extensions.configure<LibraryExtension> {
Expand Down

0 comments on commit 47e6962

Please sign in to comment.