Skip to content

Commit

Permalink
build: Add errorprone compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
loicrouchon committed Sep 18, 2022
1 parent 5e7299e commit 842332d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
id("com.diffplug.spotless") version "6.7.2"
id("org.asciidoctor.jvm.convert") version "3.3.2"
id("nebula.ospackage") version "9.0.0"
id("net.ltgt.errorprone") version "2.0.2"
}

val appModuleName = "org.${project.name}"
Expand Down Expand Up @@ -87,6 +88,8 @@ testing {
}

dependencies {
configurations["errorprone"](libs.errorprone)

compileOnly(libs.lombok)
annotationProcessor(libs.lombok)

Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ junit = "5.8.1"

[libraries]

errorprone = "com.google.errorprone:error_prone_core:2.15.0"
lombok = "org.projectlombok:lombok:1.18.22"

picocli-core = { module = "info.picocli:picocli", version.ref = "picocli" }
Expand Down

0 comments on commit 842332d

Please sign in to comment.