Skip to content

Commit

Permalink
feat(android): use androidxAppCompatVersion variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Jun 9, 2023
1 parent 06cbafd commit 69c5688
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ext {
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
}
Expand Down Expand Up @@ -44,9 +45,7 @@ repositories {


dependencies {
// cf. https://github.com/capacitor-community/firebase-analytics/issues/55
implementation "androidx.appcompat:appcompat:1.2.0"

implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':capacitor-android')
testImplementation "junit:junit:$junitVersion"
Expand Down

0 comments on commit 69c5688

Please sign in to comment.