You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @GabeGiro, After replicating the issue using the provided workflow, we found that everything is working as expected. The Build with Gradle step is correctly compiling and testing with Java 17. For your reference, we’ve included link of the successful run. To assist us in further investigating, could you please share a link to the build or a public repository where the issue can be reproduced?
@gowridurgad I'm not going to work on this issue for at least 3 more weeks. Although I saw your successful build I'm curious what is the difference between our gradle files. I'm working with a mature Android project (few years) so there is 100% chance something is different and unfortunately Android builds don't have containerisation - hence it works on yours but not on mine.
Again, I will not work on this any time soon but if you can share your process in the meantime, that would be useful. Did you start you Android project from scratch, did you use Android Studio's empty project, are you using old or new gradle files?
And I will write all these for my project in few weeks.
Description:
./gradlew build is 'Compiling and testing with Java 21' after actions/setup-java@v4 is setting Java 17.
I tried a lot of things:
Task version:
v3 and v4
Platform:
Runner type:
Repro steps:
Use this ci.yml in your Android project:
Note: I commented out the cache for the purpose of making sure that I'm not reusing gradle files
Expected behavior:
Build with Gradle step should show:
Compiling and testing with Java 17
Actual behavior:
Build with Gradle step shows:
Compiling and testing with Java 21
The text was updated successfully, but these errors were encountered: