mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
Bug 1839578 - Allow ktlintFormat task to modify access java.lang class fields.
For Fenix and Focus tasks.
This commit is contained in:
parent
095d910365
commit
dfe95a31f6
@ -240,6 +240,7 @@ task ktlintFormat(type: JavaExec, group: "formatting") {
|
||||
classpath = configurations.ktlint
|
||||
mainClass.set("com.pinterest.ktlint.Main")
|
||||
args "-F", "app/src/**/*.kt", "!**/build/**/*.kt", "--baseline=ktlint-baseline.xml"
|
||||
jvmArgs("--add-opens", "java.base/java.lang=ALL-UNNAMED")
|
||||
}
|
||||
|
||||
tasks.withType(io.gitlab.arturbosch.detekt.Detekt.class).configureEach {
|
||||
|
Loading…
Reference in New Issue
Block a user