Skip to content

Commit

Permalink
Make JSR-305 dependency compileOnly and specify UTF-8 encoding for Ja…
Browse files Browse the repository at this point in the history
…va files
  • Loading branch information
Breus committed Oct 10, 2023
1 parent 593b67c commit 4c669aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ plugins {
id 'io.github.gradle-nexus.publish-plugin' version '1.3.0'
}

compileJava { options.encoding = "UTF-8" }
compileTestJava { options.encoding = "UTF-8" }

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
Expand All @@ -25,7 +28,7 @@ ext {
}

dependencies {
implementation 'com.google.code.findbugs:jsr305:3.0.2'
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'

testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.15.1'
testImplementation "org.junit.jupiter:junit-jupiter-api:${jUnitVersion}"
Expand Down

0 comments on commit 4c669aa

Please sign in to comment.