twine icon indicating copy to clipboard operation
twine copied to clipboard

Support incremental build in Gradle

Open MinkiPani opened this issue 4 years ago • 2 comments

Hey, I am using twine in my Android project, and since AS 4.0 I get following recommendation:

:app:twineToAndroid This task runs on every build because it declares no outputs, which it must do in order to support incremental builds plus link

Is it possible to support incremental build?

Thanks

MinkiPani avatar Mar 30 '20 13:03 MinkiPani

Hey @MinkiPani,

This isn't really a feature of Twine, just configuration you should do in your Android project. You should be able to list your Twine strings files as build inputs and your Android localization files that Twine generates as build outputs.

Hope that helps!

scelis avatar Mar 30 '20 15:03 scelis

Could you maybe provide an example how this can be done? And also put it into README? That would be great.

MinkiPani avatar Mar 31 '20 08:03 MinkiPani

Would be happy to merge a PR on this if one is opened. Closing for now due to inactivity.

scelis avatar Aug 25 '22 22:08 scelis