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
Not only path can be configured by DSL but also other settings. Moreover instead of typing path directly configurations closures can be used like this:
localizationDefaultConfig {
escapeSlashes false
} //default settings
localization {
main {
csvFileURI '<link to main strings>'
} //will generate src/main/res/values/strings.xml
debug {
csvFileURI '<link to debug strings>'
} //will generate src/debug/res/values/strings.xml
flavor1 {
escapeSlashes true//will overwrite default settings
csvFileURI '<link to flavor1 strings>'
}
}
I think that don't need two extensions..The default configured write in 'main'. You can choose execute specific flavor not all flavors.And old configured should be to support. Like this:
localization {
main {
escapeSlashes false
csvFileURI '<link to main strings>'
} //will generate src/main/res/values/strings.xml
debug {
csvFileURI '<link to debug strings>'
} //will generate src/debug/res/values/strings.xml
flavor1 {
escapeSlashes true //will overwrite default settings
csvFileURI '<link to flavor1 strings>'
}
}
No description provided.
The text was updated successfully, but these errors were encountered: