Fix forbiddenapis failure with GraalVM 21

This commit is contained in:
Andrea Boriero 2024-08-07 13:52:12 +02:00 committed by Steve Ebersole
parent d317e49247
commit ccba3f62be
3 changed files with 7 additions and 2 deletions

View File

@ -12,7 +12,7 @@ buildscript {
dependencies {
// classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.7'
classpath 'de.thetaphi:forbiddenapis:3.2'
classpath buildscriptLibs.forbiddenapis
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.1'
}
}

View File

@ -14,7 +14,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'de.thetaphi:forbiddenapis:3.7'
classpath buildscriptLibs.forbiddenapis
}
}

View File

@ -277,6 +277,11 @@ dependencyResolutionManagement {
library( "mavenPlugin", "org.apache.maven", "maven-plugin-api" ).versionRef( mavenVersion )
library( "mavenPluginTools", "org.apache.maven.plugin-tools", "maven-plugin-annotations" ).versionRef( mavenPluginToolsVersion )
}
buildscriptLibs {
def forbiddenapisversion = version "forbiddenapis", "3.7"
library( "forbiddenapis", "de.thetaphi", "forbiddenapis" ).versionRef( forbiddenapisversion )
}
}
}