So in that case, should we assume that developers are expected to rely on the external packaging script for a proper build? Referencing:
Well, if we can't build an APK we need to find some other way to test the build. If you make a change to the Java code, you should be able to test that it compiles without having to run an external packaging script.
I don't think the build process should be downloading anything. But yeah, I understand that gradle is a huge PITA to work with...
Given that, it might make sense to add a reference to the official script in the winehq/tools repo (e.g. from Makefile.am and the WINE_APPEND_RULE block in configure.ac), so it’s easier to discover. Alternatively, we could probe for a suitable Gradle/AGP setup and fail early with a clear and concise error message if it’s missing, instead of attempting a build that cannot succeed. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10354#note_133412