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",
'appdistributionApi' : "com.google.firebase:firebase-appdistribution-api-ktx:$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' : "com.google.dagger:dagger:$dagger",

View File

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

View File

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