Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

[ci] Update CI image to use android-ndk-21b. #408

Merged
merged 2 commits into from
Jun 2, 2020
Merged

Conversation

pengdev
Copy link
Member

@pengdev pengdev commented Jun 1, 2020

This PR updates CI image to use android-ndk-21b.

@pengdev pengdev self-assigned this Jun 1, 2020
@pengdev pengdev added the build label Jun 1, 2020
@pengdev pengdev requested a review from tobrun June 1, 2020 11:21
@@ -6,7 +6,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:3.6.3'
Copy link
Member

@tobrun tobrun Jun 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we do 4.0.0 instead? AS 4.0 stable was released last week

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.0.0 introduced some breaking change, which need to be resolved. I can try to resolve the issues.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems there is an incompatibility issue with the android-sdk-versions-plugin and gradle plugin 4.0.0, the error is printed as follows:

Cannot cast object 'task ':MapboxGLAndroidSDK:generateDebugBuildConfig' property 'versionCode'' with class 'org.gradle.api.internal.provider.DefaultProperty' to class 'java.lang.Integer'

cc @harvsu

@pengdev pengdev merged commit c4f29c0 into master Jun 2, 2020
@pengdev pengdev deleted the peng-update-ci-image branch June 2, 2020 11:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants