-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set up the gradle version of CI #8762
Comments
Hello! In your config, for your executor you are specifying the |
@rosieyohannan I successfully executed the task using docker - image. I want to know how it is different from executor: settings. Please help me turn off this problem. Thank you
|
SO this part of your original config:
shows you are using the machine executor that's defined in the android orb - more info here Using a machine executor means you are building using a virtual machine. Using Docker means you are building using a Docker container. So when you found things weren't working you were using the machine image with the default tag which is But you found things are working using Docker because you're specifying an older image, 2023.12.1, which includes Gradle 8.5: https://hub.docker.com/layers/cimg/android/2023.12.1/images/sha256-de64e9240576fe5a030fe6129832c9444643598854801f66708a7ad6238858d7?context=explore Does this help? |
@rosieyohannan I see, thank you, I will close the question |
Description
My CI used to work normally, but yesterday I discovered that it was built incorrectly. The CI used to build it using Gradle 8.5, but now he uses the latest Gradle 8.7 to build it, so an error occurred
I want to know how to set Gradle to version 8.5,and set Java version, the Java version used by CI is too new
Local computer environment (flutter doctor -v):
On my computer, everything is fine
gradle-wrapper.properties
build.gradle
CI environment (flutter doctor -v):
config.yml
The text was updated successfully, but these errors were encountered: