lukin0110 / poeditor-gradle

Gradle plugin to manage translations with POEditor
https://poeditor.com
Apache License 2.0
26 stars 7 forks source link

Plugin not working post 0.3.0 #7

Open Sefford opened 9 years ago

Sefford commented 9 years ago

Hello,

I have an issue with the poeditor plugin. While it was correctly working on 0.3.0 version, the upgrade of 0.3.3 is not working. It is not outputting any error, seems like the tasks would complete successfully, but the changes are not reflected on the project, in three poeditorPushTerms, poeditorPull and poeditorPush.

I have tried 0.3.1, 0.3.2 and 0.3.3 with the same results.

My current configuration which has not been modified from 0.3.0 is:

apply plugin: 'poeditor'

poeditor {
    apikey '<api-id>'
    projectId '<project-id>'
    type 'android_strings'
    tagsNew '1.3.0'

    terms 'app/src/main/res/values/strings.xml'
    trans 'en', 'app/src/main/res/values/strings.xml'
    trans 'es', 'app/src/main/res/values-es/strings.xml'
    trans 'pt-br', 'app/src/main/res/values-pt-rBR/strings.xml'
    trans 'fr', 'app/src/main/res/values-fr/strings.xml'
    trans 'it', 'app/src/main/res/values-it/strings.xml'
    trans 'de', 'app/src/main/res/values-de/strings.xml'
}

I have double checked both the api-id and the project-id and they are correct. I am running gradle 2.4 on a Ubuntu enviroment with openjdk-7.

Any tips? Seems like the plugin is in dry-run or something, or I am missing something? I have re-read the HOW-TO and the configuration seems correct.

Thanks in advance!

lukin0110 commented 8 years ago

Sorry for the late response. I've developed this plugin on a Mac with gradle 2.2 & the official oracle Java SDK. I'll investigate the issue this weekend.

Sefford commented 8 years ago

Do not worry, I understand it is hard to have a side project; and right now I'm hanging on by using 0.3.0 + Java 8 and switching back to Java 7 because dex fails on Java 8.

I wish I was more knowleadgeable on plugins to give you a hand.

Thank you very much!

MarsVard commented 8 years ago

Hey guys, was this issue fixed?

nokite commented 3 years ago

I'm having the same issue on 0.3.3, but it stopped working without any change to the plugin itself.

There have been other changed in the project, like introducing a library module. However, it seems to work on a brand new machine. It stopped working on an existing machine. I tried cleaning all caches, no difference.

The poeditorPull task completes successfully but the string files are not changed. Really weird.