Skip to content

Commit ccba3f6

Browse files
dreab8sebersole
authored andcommitted
Fix forbiddenapis failure with GraalVM 21
1 parent d317e49 commit ccba3f6

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buildscript {
1212

1313
dependencies {
1414
// classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.7'
15-
classpath 'de.thetaphi:forbiddenapis:3.2'
15+
classpath buildscriptLibs.forbiddenapis
1616
classpath 'org.junit.platform:junit-platform-gradle-plugin:1.0.1'
1717
}
1818
}

gradle/java-module.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ buildscript {
1414
mavenCentral()
1515
}
1616
dependencies {
17-
classpath 'de.thetaphi:forbiddenapis:3.7'
17+
classpath buildscriptLibs.forbiddenapis
1818
}
1919
}
2020

settings.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,11 @@ dependencyResolutionManagement {
277277
library( "mavenPlugin", "org.apache.maven", "maven-plugin-api" ).versionRef( mavenVersion )
278278
library( "mavenPluginTools", "org.apache.maven.plugin-tools", "maven-plugin-annotations" ).versionRef( mavenPluginToolsVersion )
279279
}
280+
buildscriptLibs {
281+
def forbiddenapisversion = version "forbiddenapis", "3.7"
282+
283+
library( "forbiddenapis", "de.thetaphi", "forbiddenapis" ).versionRef( forbiddenapisversion )
284+
}
280285
}
281286
}
282287

0 commit comments

Comments
 (0)