lifting the phonenumber dependency to the deps file and exposing as api for the app level module

This commit is contained in:
Adam Brown 2022-08-08 10:21:34 +01:00
parent 2d61e71409
commit 5c994ebfdd
3 changed files with 4 additions and 4 deletions

View file

@ -85,6 +85,8 @@ ext.libs = [
'material' : "com.google.android.material:material:1.6.1", 'material' : "com.google.android.material:material:1.6.1",
'appdistributionApi' : "com.google.firebase:firebase-appdistribution-api-ktx:$appDistribution", 'appdistributionApi' : "com.google.firebase:firebase-appdistribution-api-ktx:$appDistribution",
'appdistribution' : "com.google.firebase:firebase-appdistribution:$appDistribution", 'appdistribution' : "com.google.firebase:firebase-appdistribution:$appDistribution",
// Phone number https://github.com/google/libphonenumber
'phonenumber' : "com.googlecode.libphonenumber:libphonenumber:8.12.54"
], ],
dagger : [ dagger : [
'dagger' : "com.google.dagger:dagger:$dagger", 'dagger' : "com.google.dagger:dagger:$dagger",

View file

@ -199,8 +199,7 @@ dependencies {
// Exif data handling // Exif data handling
implementation libs.apache.commonsImaging implementation libs.apache.commonsImaging
// Phone number https://github.com/google/libphonenumber implementation libs.google.phonenumber
implementation 'com.googlecode.libphonenumber:libphonenumber:8.12.54'
testImplementation libs.tests.junit testImplementation libs.tests.junit
// Note: version sticks to 1.9.2 due to https://github.com/mockk/mockk/issues/281 // Note: version sticks to 1.9.2 due to https://github.com/mockk/mockk/issues/281

View file

@ -184,8 +184,7 @@ dependencies {
// Debug // Debug
api 'com.facebook.stetho:stetho:1.6.0' api 'com.facebook.stetho:stetho:1.6.0'
// Phone number https://github.com/google/libphonenumber api libs.google.phonenumber
implementation 'com.googlecode.libphonenumber:libphonenumber:8.12.54'
// FlowBinding // FlowBinding
implementation libs.github.flowBinding implementation libs.github.flowBinding