Skip to content

Commit d547896

Browse files
committed
Re-enable forbiddenapis with JDK 24 signatures for now. #15246
1 parent 74681c8 commit d547896

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ plugins {
5757

5858
description = 'Grandparent project for Apache Lucene Core'
5959

60-
// Turn off all forbidden-apis tasks until it supports JDK 25;
60+
// Force forbidden-apis tasks to use JDK 24 signatures until it supports JDK 25;
6161
// https://github.com/policeman-tools/forbidden-apis/pull/272
6262
allprojects {
6363
tasks.withType(CheckForbiddenApis.class).configureEach {
64-
enabled = false
64+
targetCompatibility = "24"
6565
}
6666
}

0 commit comments

Comments
 (0)