ioki-mobility / LokaliseGradlePlugin

A Gradle plugin that uploads and downloads strings from lokalise using the lokalise CLI under the hood.
MIT License
4 stars 3 forks source link

Make `poll` optional in upload #61

Closed StefMa closed 8 months ago

StefMa commented 10 months ago

Currently we are waiting for the upload to be completed to finish the Gradle task. See https://github.com/ioki-mobility/LokaliseGradlePlugin/blob/c08ce4b0cd3806cee36fbafaa4ef16908840c74b/src/main/kotlin/com/ioki/lokalise/gradle/plugin/tasks/UploadTranslationsTask.kt#L75

Me might want to introduce this as an optional property. Meaning we will just push each and every file to Lokalise and finish the task without checking the results of each upload...

juschmitt commented 9 months ago

I will try to tackle this. If you have more info about this or what I need to look out for please let me know.

StefMa commented 9 months ago

Nice to hear! Thank you.

The todos here are mainly:

Up to date check: The property should be declared as an input of the task. As if it changes, the task should not be up-to-date anymore.

I guess that's it 🤔 🙃