Skip to content

Commit

Permalink
feat(android): androidxActivityVersion & androidxFragmentVersion grad…
Browse files Browse the repository at this point in the history
…le variables (#4103)
  • Loading branch information
jcesarmobile committed Jan 22, 2021
1 parent 6dc691e commit 4f77b96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions android-template/variables.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ ext {
minSdkVersion = 21
compileSdkVersion = 30
targetSdkVersion = 30
androidxActivityVersion = '1.2.0-rc01'
androidxAppCompatVersion = '1.2.0'
androidxCoreVersion = '1.3.2'
androidxFragmentVersion = '1.3.0-rc01'
androidxMaterialVersion = '1.3.0-rc01'
junitVersion = '4.13.1'
androidxJunitVersion = '1.1.2'
Expand Down
6 changes: 4 additions & 2 deletions android/capacitor/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
ext {
androidxActivityVersion = project.hasProperty('androidxActivityVersion') ? rootProject.ext.androidxActivityVersion : '1.2.0-rc01'
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.1.0'
androidxCoreVersion = project.hasProperty('androidxCoreVersion') ? rootProject.ext.androidxCoreVersion : '1.2.0'
androidxFragmentVersion = project.hasProperty('androidxFragmentVersion') ? rootProject.ext.androidxFragmentVersion : '1.3.0-rc01'
androidxMaterialVersion = project.hasProperty('androidxMaterialVersion') ? rootProject.ext.androidxMaterialVersion : '1.1.0-rc02'
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.12'
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.1'
Expand Down Expand Up @@ -59,8 +61,8 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
implementation "androidx.core:core:$androidxCoreVersion"
implementation 'androidx.activity:activity:1.2.0-rc01'
implementation 'androidx.fragment:fragment:1.3.0-rc01'
implementation "androidx.activity:activity:$androidxActivityVersion"
implementation "androidx.fragment:fragment:$androidxFragmentVersion"
implementation "com.google.android.material:material:$androidxMaterialVersion"
testImplementation "junit:junit:$junitVersion"
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
Expand Down

0 comments on commit 4f77b96

Please sign in to comment.