Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Closes #2346: Remove now unused KotlinCompiler class.
Browse files Browse the repository at this point in the history
  • Loading branch information
pocmo committed Jun 5, 2019
1 parent 1acebe1 commit 53323b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
8 changes: 3 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ subprojects {
apply plugin: 'jacoco'
apply plugin: 'org.jetbrains.dokka-android'

// Enable Kotlin warnings as errors. We should work to enable this on all modules (#2346).
if (!KotlinCompiler.projectsWithWarningsAsErrorsDisabled.contains(project.name)) {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions.allWarningsAsErrors = true
}
// Enable Kotlin warnings as errors for all modules
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions.allWarningsAsErrors = true
}

// Enforce that all (transitive) dependencies are using the same support library version as we do.
Expand Down
15 changes: 0 additions & 15 deletions buildSrc/src/main/java/KotlinCompiler.kt

This file was deleted.

0 comments on commit 53323b6

Please sign in to comment.