Open
Description
SW details (please complete the following information):
- IDE version: Android Studio 2023.1.1 Patch 1
- Plug-in Version 4.1.1 - 4.2.0
- Gradle Version 8.5
Summary and background of the bug
When running the importPoEditorStrings
Gradle task, after the files are properly downloaded and saved:
Retrieving project languages...
Available languages: [en]
Retrieving translation file URL for language code: en
Downloading file from URL: https://api.poeditor.com/v2/download/file/...
Saving strings to /Users/.../Workspace/.../app/src/main/res/values
Gradle throws the following error:
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache problems found in this build.
- Task `:app:importPoEditorStrings` of type `com.hyperdevs.poeditor.gradle.tasks.ImportPoEditorStringsTask`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.5/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
I've tested this on Gradle 8.2 and 8.5, same result.
I've tested the following library versions:
- 4.0.0 doesn't throw any errors, it works perfectly
- 4.1.0 unfortunately breaks Gradle sync, so I couldn't test it at all
- 4.1.1 and 4.2.0 throw the error