Added missing gplay dependencies

This commit is contained in:
Arnau Mora
2025-10-25 14:01:45 +02:00
parent b43b65c0de
commit 135b35d32b
2 changed files with 22 additions and 0 deletions

View File

@@ -232,3 +232,14 @@ dependencies {
testImplementation(libs.mockk)
testImplementation(libs.okhttp.mockwebserver)
}
// build variants (flavors)
val gplayImplementation by configurations {
dependencies {
implementation(libs.android.billing)
implementation(libs.android.review)
implementation(libs.confettikit)
}
}

View File

@@ -23,6 +23,7 @@ bitfire-dav4jvm = "f11523619b"
bitfire-synctools = "1a7f70b1a0"
compose-accompanist = "0.37.3"
compose-bom = "2025.10.01"
confettikit = "0.6.0"
dnsjava = "3.6.3"
glance = "1.1.1"
guava = "33.5.0-android"
@@ -40,6 +41,10 @@ room = "2.8.2"
unifiedpush = "3.1.2"
unifiedpush-fcm = "3.0.0"
# gplay build variants
android-billing = "8.0.0"
android-review = "2.0.2"
# Other libraries, especially ical4j, require Apache Commons. Some recent versions of Apache
# Commons require a newer Java version than our minSdk provides. So we require these strict versions here:
#noinspection NewerVersionAvailable
@@ -81,6 +86,7 @@ compose-material3 = { group = "androidx.compose.material3", name = "material3" }
compose-materialIconsExtended = { module = "androidx.compose.material:material-icons-extended" }
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
compose-ui-toolingPreview = { module = "androidx.compose.ui:ui-tooling-preview" }
confettikit = { module = "io.github.vinceglb:confettikit", version.ref = "confettikit" }
dnsjava = { module = "dnsjava:dnsjava", version.ref = "dnsjava" }
glance-base = { module = "androidx.glance:glance-appwidget", version.ref = "glance" }
glance-material = { module = "androidx.glance:glance-material", version.ref = "glance" }
@@ -108,6 +114,11 @@ room-testing = { module = "androidx.room:room-testing", version.ref = "room" }
unifiedpush = { module = "org.unifiedpush.android:connector", version.ref = "unifiedpush" }
unifiedpush-fcm = { module = "org.unifiedpush.android:embedded-fcm-distributor", version.ref = "unifiedpush-fcm" }
# gplay build variant
# Keep in sync with the allow list of the non-ose-dependencies in .github/dependabot.yml!
android-billing = { module = "com.android.billingclient:billing-ktx", version.ref = "android-billing" }
android-review = { module = "com.google.android.play:review-ktx", version.ref = "android-review" }
[plugins]
android-application = { id = "com.android.application", version.ref = "android-agp" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }