Skip to content

Commit bd7abd8

Browse files
committed
fix(android): gradle 7.0 support
1 parent 14612cf commit bd7abd8

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

packages/bottomsheet/platforms/android/include.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ dependencies {
33
def androidXAppCompatVersion = project.hasProperty("androidXAppCompatVersion") ? project.androidXAppCompatVersion : "1.2.0"
44
def androidXMaterial = project.hasProperty("androidXMaterial") ? project.androidXMaterial : "1.2.1"
55

6-
compile "androidx.appcompat:appcompat:$androidXAppCompatVersion"
7-
compile "com.google.android.material:material:$androidXMaterial"
6+
implementation "androidx.appcompat:appcompat:$androidXAppCompatVersion"
7+
implementation "com.google.android.material:material:$androidXMaterial"
88
}

packages/button/platforms/android/include.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ dependencies {
22
def androidXAppCompatVersion = project.hasProperty("androidXAppCompatVersion") ? project.androidXAppCompatVersion : "1.2.0"
33
def androidXMaterial = project.hasProperty("androidXMaterial") ? project.androidXMaterial : "1.2.1"
44

5-
compile "androidx.appcompat:appcompat:$androidXAppCompatVersion"
6-
compile "com.google.android.material:material:$androidXMaterial"
5+
implementation "androidx.appcompat:appcompat:$androidXAppCompatVersion"
6+
implementation "com.google.android.material:material:$androidXMaterial"
77
}

packages/core/platforms/android/include.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies {
44
def androidXMaterial = project.hasProperty("androidXMaterial") ? project.androidXMaterial : "1.3.0"
55
def androidxViewPagerVersion = project.hasProperty("androidxViewPagerVersion") ? project.androidxViewPagerVersion : "1.0.0"
66

7-
compile "androidx.appcompat:appcompat:$androidXAppCompatVersion"
8-
compile "com.google.android.material:material:$androidXMaterial"
9-
compile "androidx.viewpager:viewpager:$androidxViewPagerVersion"
7+
implementation "androidx.appcompat:appcompat:$androidXAppCompatVersion"
8+
implementation "com.google.android.material:material:$androidXMaterial"
9+
implementation "androidx.viewpager:viewpager:$androidxViewPagerVersion"
1010
}

packages/snackbar/platforms/android/include.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ dependencies {
33
def androidXAppCompatVersion = project.hasProperty("androidXAppCompatVersion") ? project.androidXAppCompatVersion : "1.2.0"
44
def androidXMaterial = project.hasProperty("androidXMaterial") ? project.androidXMaterial : "1.2.1"
55

6-
compile "androidx.appcompat:appcompat:$androidXAppCompatVersion"
7-
compile "com.google.android.material:material:$androidXMaterial"
6+
implementation "androidx.appcompat:appcompat:$androidXAppCompatVersion"
7+
implementation "com.google.android.material:material:$androidXMaterial"
88
}

packages/textfield/platforms/android/include.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ dependencies {
33
def androidXAppCompatVersion = project.hasProperty("androidXAppCompatVersion") ? project.androidXAppCompatVersion : "1.2.0"
44
def androidXMaterial = project.hasProperty("androidXMaterial") ? project.androidXMaterial : "1.2.1"
55

6-
compile "androidx.appcompat:appcompat:$androidXAppCompatVersion"
7-
compile "com.google.android.material:material:$androidXMaterial"
6+
implementation "androidx.appcompat:appcompat:$androidXAppCompatVersion"
7+
implementation "com.google.android.material:material:$androidXMaterial"
88
}

packages/textview/platforms/android/include.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ dependencies {
33
def androidXAppCompatVersion = project.hasProperty("androidXAppCompatVersion") ? project.androidXAppCompatVersion : "1.2.0"
44
def androidXMaterial = project.hasProperty("androidXMaterial") ? project.androidXMaterial : "1.2.1"
55

6-
compile "androidx.appcompat:appcompat:$androidXAppCompatVersion"
7-
compile "com.google.android.material:material:$androidXMaterial"
6+
implementation "androidx.appcompat:appcompat:$androidXAppCompatVersion"
7+
implementation "com.google.android.material:material:$androidXMaterial"
88
}

0 commit comments

Comments
 (0)