You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added
Add support for using the plug-in in library modules.
Add support for configuring non-standard resource directory path via defaultResPath. Thanks to @rafid059 for the contribution!
Groovy
poEditor {
defaultResPath ="your/res/path"
}
android {
// If you have the following flavors...
flavorDimensions 'type'
productFlavors {
free { dimension 'type' }
paid { dimension 'type' }
}
poEditorConfig {
free {
// Configuration for the free flavor, same syntax as usual
defaultResPath ="your/free/res/path"
}
paid {
// Configuration for the paid flavor, same syntax as usual
defaultResPath ="your/paid/res/path"
}
debug {
// Configuration for the debug build type, same syntax as usual
defaultResPath ="your/debug/res/path"
}
release {
// Configuration for the release build type, same syntax as usual
defaultResPath ="your/release/res/path"
}
}
}
Kotlin
poEditor {
defaultResPath ="your/res/path"
}
android {
// If you have the following flavors...
flavorDimensions("type")
productFlavors {
register("free") { setDimension("type") }
register("paid") { setDimension("type") }
}
poEditorConfig {
register("free") {
// Configuration for the free flavor, same syntax as usual
defaultResPath ="your/free/res/path"
}
register("paid") {
// Configuration for the paid flavor, same syntax as usual
defaultResPath ="your/paid/res/path"
}
register("debug") {
// Configuration for the debug build type, same syntax as usual
defaultResPath ="your/debug/res/path"
}
register("release") {
// Configuration for the release build type, same syntax as usual
defaultResPath ="your/release/res/path"
}
}
}