Skip to content

Commit

Permalink
guard
Browse files Browse the repository at this point in the history
  • Loading branch information
rjernst committed Nov 22, 2024
1 parent bd9d0c6 commit ad198c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libs/entitlement/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ dependencies {
exclude group: 'org.elasticsearch', module: 'entitlement'
}

main23CompileOnly project(path: ':libs:entitlement:bridge', configuration: 'java23')
// guarding for idea integration
if (sourceSets.findByName("main23")) {
main23CompileOnly project(path: ':libs:entitlement:bridge', configuration: 'java23')
}
}

tasks.withType(CheckForbiddenApisTask).configureEach {
Expand Down

0 comments on commit ad198c0

Please sign in to comment.