tidev / titanium-sdk

🚀 Native iOS and Android Apps with JavaScript
https://titaniumsdk.com/
Other
2.76k stars 1.21k forks source link

chore(android): forward --sdk in module build process #14112

Closed m1ga closed 2 months ago

m1ga commented 2 months ago

When testing the gradle8 PR I saw that inside a module when I run ti build -p android --sdk 12.6.0 it was building the module with 12.6.0 but the example app was still starting with 12.4.0.GA.

This PR will forward the --sdk parameter and it won't crash with Unsupported Class File Major Version 61 errors (module is build with java 17 but then run with java 11)

Testing: