scelis / twine

Twine is a command line tool for managing your strings and their translations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support incremental build in Gradle

MinkiPani opened this issue · 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

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!

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

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