Skip to content

Commit 30090b6

Browse files
authored
Move entitlement jars to libs (#115883)
The distribution tools are meant to be CLIs. This commit moves the entitlements jar projects to the libs dir, under a single libs/entitlement root directory to keep the related jars together.
1 parent 5cc2a47 commit 30090b6

File tree

42 files changed

+8
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+8
-12
lines changed

distribution/tools/entitlement-agent/build.gradle renamed to libs/entitlement/agent/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ apply plugin: 'elasticsearch.build'
1313
apply plugin: 'elasticsearch.embedded-providers'
1414

1515
embeddedProviders {
16-
impl 'entitlement-agent', project(':distribution:tools:entitlement-agent:impl')
16+
impl 'entitlement-agent', project(':libs:entitlement:agent:impl')
1717
}
1818

1919
configurations {
2020
entitlementBridge
2121
}
2222

2323
dependencies {
24-
entitlementBridge project(":distribution:tools:entitlement-bridge")
24+
entitlementBridge project(":libs:entitlement:bridge")
2525
compileOnly project(":libs:core")
26-
compileOnly project(":distribution:tools:entitlement-runtime")
26+
compileOnly project(":libs:entitlement")
2727
testImplementation project(":test:framework")
28-
testImplementation project(":distribution:tools:entitlement-bridge")
29-
testImplementation project(":distribution:tools:entitlement-agent:impl")
28+
testImplementation project(":libs:entitlement:bridge")
29+
testImplementation project(":libs:entitlement:agent:impl")
3030
}
3131

3232
tasks.named('test').configure {

distribution/tools/entitlement-agent/impl/build.gradle renamed to libs/entitlement/agent/impl/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
apply plugin: 'elasticsearch.build'
1111

1212
dependencies {
13-
compileOnly project(':distribution:tools:entitlement-agent')
13+
compileOnly project(':libs:entitlement:agent')
1414
implementation 'org.ow2.asm:asm:9.7'
1515
testImplementation project(":test:framework")
16-
testImplementation project(":distribution:tools:entitlement-bridge")
16+
testImplementation project(":libs:entitlement:bridge")
1717
testImplementation 'org.ow2.asm:asm-util:9.7'
1818
}
1919

0 commit comments

Comments
 (0)