Skip to content

Commit

Permalink
Target Java 11 via proper non-deprecated java configuration block
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed Jul 3, 2023
1 parent c12dd33 commit c11f262
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ gocdPlugin {
assetsToRelease = [project.tasks.jar]
}

sourceCompatibility = 1.11
targetCompatibility = 1.11
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

group = 'cd.go'
version = gocdPlugin.fullVersion(project)
Expand Down

0 comments on commit c11f262

Please sign in to comment.