Skip to content

Commit

Permalink
exclude org.codehaus.groovy set java 17 using toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesfredley committed Sep 22, 2024
1 parent 94e26c2 commit 2a1841a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ buildscript {
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsGradlePluginVersion"
classpath 'io.github.groovylang.groovydoc:groovydoc-gradle-plugin:1.0.1'
classpath 'io.github.groovylang.groovydoc:groovydoc-gradle-plugin:1.0.1', {
exclude group: 'org.codehaus.groovy'
}
}
}
plugins {
Expand All @@ -20,8 +22,11 @@ apply plugin: 'org.grails.grails-gsp'
apply plugin: "org.grails.grails-doc"
apply plugin: "org.grails.internal.grails-plugin-publish"

sourceCompatibility = 1.17
targetCompatibility = 1.17
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}

repositories {
mavenCentral()
Expand Down

0 comments on commit 2a1841a

Please sign in to comment.