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

Add `downloadFiles` functionality to `LokaliseApi` #73

Closed juschmitt closed 7 months ago

juschmitt commented 7 months ago

closes #69

As discussed in the issue, I went ahead and created a second interface for the downloadFiles function which will be implemented by the DefaultLokaliseApi.

I am unsure of the now 2 factory classes. Maybe there is a way to combine them into 1?

DownloadTranslationsTask now uses the new LokaliseDownloadApi and gets it as an input the same way it was done for the UploadTranslationsTask.

StefMa commented 7 months ago

And fix the tests 😁