Skip to content

Commit

Permalink
Only apply Java compatibility to plugin project
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl authored Dec 15, 2023
1 parent 5d5c9f9 commit 2be8cfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ subprojects {

version project.projectVersion

sourceCompatibility = 1.11
targetCompatibility = 1.11

ext {
userOrg = "grails"
isGrailsPlugin = name.startsWith('grails-plugin')
Expand Down Expand Up @@ -72,6 +69,9 @@ subprojects {
apply plugin: 'idea'
apply plugin: 'java-library'
apply plugin: "org.grails.grails-plugin"

sourceCompatibility = 1.11
targetCompatibility = 1.11
} else {
apply from: "${commonBuild}/common-project.gradle"
}
Expand Down

0 comments on commit 2be8cfa

Please sign in to comment.