1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-09-19 15:11:42 +02:00
Frost-for-Facebook/spotless.gradle
Allan Wang 771676db9f
Github actions (#1797)
* Add android workflow

* Test without dynamic artifact name

* Add back spotless ktlint version

* Always decrypt secret

* Ignore ci for l10n_dev [skip ci]

* Rename test asset

* Use github run number var

* Test github context var

* Add legacy build release

* Test step 1

* Test next steps

* Test prev version step

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Partial test

* Enable full flow

* Test build

* Test build

* Full release v2

* Use pitched apps email

* Echo release link [skip ci]

* Fix should release
2021-09-12 01:01:06 -07:00

12 lines
337 B
Groovy

apply plugin: "com.diffplug.spotless"
spotless {
kotlin {
target "**/*.kt"
// https://github.com/pinterest/ktlint/releases
ktlint("0.41.0").userData(["disabled_rules": "no-wildcard-imports"])
licenseHeaderFile '../spotless.license.kt'
trimTrailingWhitespace()
endWithNewline()
}
}