Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ allprojects {
tasks.withType(KotlinCompile).all {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
allWarningsAsErrors = true
freeCompilerArgs += [
"-Xopt-in=kotlin.RequiresOptIn"
]
Expand Down
6 changes: 0 additions & 6 deletions libs/annotations/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
plugins {
id "org.jetbrains.kotlin.jvm"
}

compileKotlin {
kotlinOptions {
allWarningsAsErrors = true
}
}
4 changes: 0 additions & 4 deletions libs/editor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ android {
targetSdkVersion rootProject.targetSdkVersion
}

kotlinOptions {
allWarningsAsErrors = true
}

// Avoid 'duplicate files during packaging of APK' errors
packagingOptions {
exclude 'LICENSE.txt'
Expand Down
4 changes: 0 additions & 4 deletions libs/image-editor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ android {
vectorDrawables.useSupportLibrary = true
}

kotlinOptions {
allWarningsAsErrors = true
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
test.java.srcDirs += 'src/test/kotlin'
Expand Down
6 changes: 0 additions & 6 deletions libs/processors/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ plugins {
id "org.jetbrains.kotlin.kapt"
}

compileKotlin {
kotlinOptions {
allWarningsAsErrors = true
}
}

dependencies {
implementation project(':libs:annotations')
implementation "com.google.auto.service:auto-service:$autoServiceVersion"
Expand Down