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 flavor and build type configuration. The sample configuration is as follows:
Groovy
poEditor {
// Default config that applies to all flavor/build type configurations. // Also executed when calling 'importPoEditorStrings'
}
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
}
paid {
// Configuration for the paid flavor, same syntax as usual
}
debug {
// Configuration for the debug build type, same syntax as usual
}
release {
// Configuration for the release build type, same syntax as usual
}
}
}
Kotlin
poEditor {
// Default config that applies to all flavor/build type configurations. // Also executed when calling 'importPoEditorStrings'
}
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
}
register("paid") {
// Configuration for the paid flavor, same syntax as usual
}
register("debug") {
// Configuration for the debug build type, same syntax as usual
}
register("release") {
// Configuration for the release build type, same syntax as usual
}
}
}
Removed
The resDirPath parameter is no longer needed, since it gets inferred from the flavor or build type configured in the app