Skip to content

Commit b1d7373

Browse files
committed
Do not apply publish plugin as part of BuildPlugin
- This should remove quite some boilerplate (only ~35 projects are published via maven vs 175 projects build plugin is applied too)
1 parent cce3858 commit b1d7373

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BuildPlugin.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ public void apply(final Project project) {
5959
}
6060

6161
project.getPluginManager().apply("elasticsearch.java");
62-
project.getPluginManager().apply("elasticsearch.publish");
6362
project.getPluginManager().apply(ElasticsearchJavadocPlugin.class);
6463
project.getPluginManager().apply(DependenciesInfoPlugin.class);
6564
project.getPluginManager().apply(SnykDependencyMonitoringGradlePlugin.class);

client/test/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ java {
1717

1818
group = "${group}.client.test"
1919

20-
// rest client sniffer is licenses under Apache 2.0
21-
projectLicenses.set(['The Apache Software License, Version 2.0': providers.provider(() -> 'http://www.apache.org/licenses/LICENSE-2.0')])
22-
licenseFile.set(layout.getSettingsDirectory().file('licenses/APACHE-LICENSE-2.0.txt').asFile)
23-
2420
dependencies {
2521
api "org.apache.httpcomponents:httpcore:${versions.httpcore}"
2622
api "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"

0 commit comments

Comments
 (0)