Skip to content

Commit

Permalink
feat(android): update AGP to 7.0.4 version
Browse files Browse the repository at this point in the history
  • Loading branch information
siguangli2018 authored and zoomchan-cxj committed Feb 9, 2022
1 parent 91e2f6c commit 8e04792
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion android/sdk/build.gradle
Expand Up @@ -36,7 +36,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.0.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
3 changes: 1 addition & 2 deletions android/sdk/gradle.properties
Expand Up @@ -16,10 +16,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

android.enableD8=true
android.enableR8=false
android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs = -Xms1024m -Xmx4096m

#
# Specifies Android archives base name
Expand Down
2 changes: 1 addition & 1 deletion android/sdk/gradle/wrapper/gradle-wrapper.properties
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
2 changes: 1 addition & 1 deletion examples/android-demo/build.gradle
Expand Up @@ -6,7 +6,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.0.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
11 changes: 8 additions & 3 deletions examples/android-demo/example/build.gradle
Expand Up @@ -70,7 +70,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.android.tools.build:gradle:7.0.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand All @@ -94,8 +94,13 @@ allprojects {
}
google()
mavenCentral()
flatDir {
dirs 'libs'
}
}

android {
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions examples/android-demo/gradle.properties
@@ -1,4 +1,3 @@
android.enableJetifier=true
android.useAndroidX=true
android.enableD8=true
android.enableR8=false
org.gradle.jvmargs = -Xms1024m -Xmx4096m
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

0 comments on commit 8e04792

Please sign in to comment.