Skip to content

Commit

Permalink
chore: Add DependencyHandler.marketImplementation ext
Browse files Browse the repository at this point in the history
Signed-off-by: Hu Shenghao <[email protected]>
  • Loading branch information
hushenghao committed Dec 3, 2024
1 parent 34ee52e commit 86df8e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ dependencies {
implementation(project(":eggs:Gingerbread"))
implementation(project(":eggs:Base"))

implementation("market", libs.google.play.services)
implementation("market", libs.google.play.review)
marketImplementation(libs.google.play.services)
marketImplementation(libs.google.play.review)

testImplementation(libs.junit)
androidTestImplementation(libs.nanohttpd)
Expand Down
4 changes: 2 additions & 2 deletions build-logic/convention/src/main/kotlin/Dls.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ val Project.keyprops: Properties
val Project.catalog: VersionCatalog
get() = extensions.getByType<VersionCatalogsExtension>().named("libs")

fun DependencyHandler.implementation(flavor: String, dependencyNotation: Any): Dependency? =
add("${flavor}Implementation", dependencyNotation)
fun DependencyHandler.marketImplementation(dependencyNotation: Any): Dependency? =
add("marketImplementation", dependencyNotation)

val Project.javaExtension: JavaPluginExtension
get() = extensions.getByName<JavaPluginExtension>("java")
Expand Down

0 comments on commit 86df8e1

Please sign in to comment.