Open eyal-rounds opened 9 years ago
another nice feature would be after export to run a closure on the file, so if i ned to make search and replace on the file i can, in my current position we do it using python and i wanted to move the use to your plugin.
I agree :). How would your configuration look like if you work with android.sourceSets
?
Can you move the second feature to a different ticket so we can discuss it there.
I looked at the java library code and the plugin, strangely enough your code should have worked fine! but apparently if i run your plugin directly from studio's gradle settings it doesn't export anything, if i run from the command line it takes relative path, even though you create a File using the path i provide which should have been absolute! something is very strange here.
Please tell me when you work on the plugin do you join the two projects (java + the plugin) so you wont have to publish to local maven all the time ? if i'll have the time i will work and try to solve this.
also i have no idea how to move the ticket, copy paste ? :-)
10x.
for android project you can access the absolute location using android.srouceSets.main.res.srcDirs[0]. In your plugin if i use this dir (absolute path) extra invalid dirs will be created.
I think it's better to access the project soucrce sets and use that dir' i can give you a "map" of poeditor langs to android langcodes so actually all that needs to be specified is the lang itself that you want to use.