Skip to content

Commit

Permalink
more intellij fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rjernst committed Nov 22, 2024
1 parent ad198c0 commit a1d76e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion libs/entitlement/bridge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ configurations {
}

tasks.named('jar').configure {
from sourceSets.main23.output
// guarding for intellij
if (sourceSets.findByName("main23")) {
from sourceSets.main23.output
}
}

artifacts {
Expand Down
2 changes: 1 addition & 1 deletion libs/entitlement/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
exclude group: 'org.elasticsearch', module: 'entitlement'
}

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

0 comments on commit a1d76e4

Please sign in to comment.