Releases: hyperdevs-team/poeditor-android-gradle-plugin
Releases · hyperdevs-team/poeditor-android-gradle-plugin
2.3.0
Added
- Add some code style rules to be shared via editorconfig (
insert_final_newline=false
). Thanks to @nokite for the contribution! - Add
minimumTranslationPercentage
parameter topoEditorConfig
block to specify the minimum accepted percentage of translated strings per language. Thanks to @nokite for the contribution!
Groovy
poEditor {
apiToken = "your_api_token"
projectId = 12345
defaultLang = "en"
minimumTranslationPercentage = 85
}
Kotlin
poEditor {
apiToken = "your_api_token"
projectId = 12345
defaultLang = "en"
minimumTranslationPercentage = 85
}
Changed
- The XML attribute
encoding
in the generated string resource files is now lowercaseutf-8
. Thanks to @nokite for the contribution! - Migrate to PoEditor API v2.
- Update some dependencies (Gradle 6.9, Kotlin 1.4.20, Moshi 1.12.0, OkHttp 4.9.1, Junit 4.13.2). Thanks to @nokite for the contribution!
- Update deprecated Gradle property
classifier
toarchiveClassifier
Thanks to @nokite for the contribution! - Update
Project.xml
(matching Android Studio 4.2.1) Thanks to @nokite for the contribution!
2.2.1
2.2.0
Added
- Add
languageValuesOverridePathMap
to overridevalues
folder for specific languages.
Groovy
poEditor {
apiToken = "your_api_token"
projectId = 12345
defaultLang = "en"
languageValuesOverridePathMap = [
"free" : "${rootDir}/app/src/free/res/values",
"paid" : "${rootDir}/app/src/paid/res/values"
]
}
Kotlin
poEditor {
apiToken = "your_api_token"
projectId = 12345
defaultLang = "en"
languageValuesOverridePathMap = mapOf(
"free" to "${rootDir}/app/src/free/res/values",
"paid" to "${rootDir}/app/src/paid/res/values"
)
}
2.1.2
2.1.1
2.1.0
Added
- Add
tags
parameter topoEditorConfig
block to add PoEditor tags:
poEditor {
apiToken = "your_api_token"
projectId = 12345
defaultLang = "en"
tags = ["tag1", "tag2"] // Download strings with the specified tags
}
Changed
- Add support for Android Gradle Plugin version 4.2.0
Removed
- Remove support for Android Gradle Plugin versions lower than 4.2.0
2.0.0
1.4.2
Added
- Dotenv support for the
Main.kt
file for easier local development.
Fixed
- Fix HTML tags being escaped when parsing.
1.4.1
1.4.0
Added
- Add the
enabled
variable to enable or disable specific configurations.
Removed
- Remove tasks that are disabled with the
enabled
flag or not configured.
Fixed
- Fix an issue that didn't save flavor or build type specific strings in their default resources folder.