tidev / titanium-sdk

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

feat(android): enable gradle config caching #14135

Closed m1ga closed 1 month ago

m1ga commented 1 month ago

You will see:

[INFO]  Generating semantic colors resources
[INFO]  Generating main "AndroidManifest.xml" files
[INFO]  Building app
[INFO]  [GRADLE] Reusing configuration cache.                          <------------
[INFO]  [GRADLE] > Task :app:preBuild UP-TO-DATE

for the 2nd build.

saved ~200ms in my build (gradle bulid):

[INFO]  [GRADLE] > Task :app:createDebugApkListingFileRedirect UP-TO-DATE
[INFO]  [GRADLE] 
[INFO]  [GRADLE] BUILD SUCCESSFUL in 360ms                          <------------
[INFO]  [GRADLE] 34 actionable tasks: 34 up-to-date

it is already super fast but won't hurt :-)

Also removing android.suppressUnsupportedCompileSdk', value: '33' as we do support it now