Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Enable K2 (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored Aug 1, 2023
1 parent cbb4d12 commit df13d3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ allprojects {

tasks.withType<KotlinCompile>().configureEach {
compilerOptions {
allWarningsAsErrors = true
// Disable this flag due to https://github.com/Goooler/DemoApp/pull/437
// allWarningsAsErrors = true
}
}
tasks.withType<Test>().configureEach {
Expand Down
5 changes: 5 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ org.gradle.jvmargs=-Dfile.encoding=UTF-8 \
-XX:G1NewSizePercent=67 \
-XX:G1MaxNewSizePercent=67
org.gradle.parallel=true

# https://android-developers.googleblog.com/2023/07/try-k2-compiler-in-your-android-projects.html
android.experimental.lint.version=8.2.0-alpha15
android.lint.useK2Uast=true
kotlin.experimental.tryK2=true

0 comments on commit df13d3d

Please sign in to comment.