2
0
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:
mcarare 2023-06-21 17:51:18 +03:00 committed by mergify[bot]
parent 095d910365
commit dfe95a31f6

View File

@ -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 {