poeditor-gradle icon indicating copy to clipboard operation
poeditor-gradle copied to clipboard

Plugin not working post 0.3.0

Open Sefford opened this issue 9 years ago • 4 comments

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!

Sefford avatar Aug 27 '15 11:08 Sefford

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.

lukin0110 avatar Nov 12 '15 09:11 lukin0110

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!

Sefford avatar Nov 12 '15 09:11 Sefford

Hey guys, was this issue fixed?

MarsVard avatar Dec 29 '15 09:12 MarsVard

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.

nokite avatar Apr 16 '21 15:04 nokite