common: switch to generating icons code at build-time

This commit is contained in:
Harsh Shandilya 2022-04-22 21:57:10 +05:30
parent d4f09b98e4
commit bfdb86d2e5
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
21 changed files with 43 additions and 370 deletions

View file

@ -24,7 +24,8 @@ tasks.withType<JavaCompile>().configureEach {
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
allWarningsAsErrors = true
// TODO: Re-enable once warnings from Aurora-generated code are fixed
allWarningsAsErrors = false
jvmTarget = JavaVersion.VERSION_11.toString()
freeCompilerArgs = freeCompilerArgs + additionalCompilerArgs
languageVersion = "1.5"

View file

@ -11,7 +11,7 @@ spotless {
kotlin {
ktfmt(KTFMT_VERSION).googleStyle()
target("**/*.kt")
targetExclude("**/build/")
targetExclude("**/build/", "**/gen/")
}
kotlinGradle {
ktfmt(KTFMT_VERSION).googleStyle()