Skip to content

Commit

Permalink
Fix entitlement tools to build (elastic#117351)
Browse files Browse the repository at this point in the history
This commit adjusts the common lib of entitlement tools to use
elasticsearch.build so that it gets java version configuration
automatically. Additionally the mrjar plugin is removed from the core
lib since it is not used there.
  • Loading branch information
rjernst committed Nov 23, 2024
1 parent 74734d1 commit 3ae59f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion libs/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*/

apply plugin: 'elasticsearch.publish'
apply plugin: 'elasticsearch.mrjar'

dependencies {
// This dependency is used only by :libs:core for null-checking interop with other tools
Expand Down
9 changes: 4 additions & 5 deletions libs/entitlement/tools/common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/

plugins {
id 'java'
}

group = 'org.elasticsearch.entitlement.tools'
apply plugin: 'elasticsearch.build'

tasks.named('forbiddenApisMain').configure {
replaceSignatureFiles 'jdk-signatures'
}

0 comments on commit 3ae59f5

Please sign in to comment.