File tree Expand file tree Collapse file tree 10 files changed +6
-9
lines changed
integTest/groovy/org/elasticsearch/gradle/internal
main/java/org/elasticsearch/gradle/internal Expand file tree Collapse file tree 10 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,6 @@ class BuildPluginFuncTest extends AbstractGradleFuncTest {
123
123
then :
124
124
result. task(" :assemble" ). outcome == TaskOutcome . SUCCESS
125
125
file(" build/distributions/hello-world.jar" ). exists()
126
- file(" build/distributions/hello-world-javadoc.jar" ). exists()
127
- file(" build/distributions/hello-world-sources.jar" ). exists()
128
126
assertValidJar(file(" build/distributions/hello-world.jar" ))
129
127
}
130
128
@@ -162,7 +160,7 @@ class BuildPluginFuncTest extends AbstractGradleFuncTest {
162
160
result. task(" :forbiddenPatterns" ). outcome == TaskOutcome . SUCCESS
163
161
result. task(" :validateModule" ). outcome == TaskOutcome . SUCCESS
164
162
result. task(" :splitPackagesAudit" ). outcome == TaskOutcome . SUCCESS
165
- result. task(" :validateElasticPom" ). outcome == TaskOutcome . SUCCESS
163
+ // result.task(":validateElasticPom").outcome == TaskOutcome.SUCCESS
166
164
// disabled but check for being on the task graph
167
165
result. task(" :forbiddenApisMain" ). outcome == TaskOutcome . SKIPPED
168
166
result. task(" :checkstyleMain" ). outcome == TaskOutcome . SKIPPED
Original file line number Diff line number Diff line change 9
9
10
10
package org .elasticsearch .gradle .internal ;
11
11
12
+ import org .elasticsearch .gradle .internal .conventions .LicensingPlugin ;
12
13
import org .elasticsearch .gradle .internal .info .GlobalBuildInfoPlugin ;
13
14
import org .elasticsearch .gradle .internal .precommit .InternalPrecommitTasks ;
14
15
import org .elasticsearch .gradle .internal .snyk .SnykDependencyMonitoringGradlePlugin ;
@@ -61,6 +62,7 @@ public void apply(final Project project) {
61
62
project .getPluginManager ().apply ("elasticsearch.java" );
62
63
project .getPluginManager ().apply (ElasticsearchJavadocPlugin .class );
63
64
project .getPluginManager ().apply (DependenciesInfoPlugin .class );
65
+ project .getPluginManager ().apply (LicensingPlugin .class );
64
66
project .getPluginManager ().apply (SnykDependencyMonitoringGradlePlugin .class );
65
67
project .getPluginManager ().apply (ClusterFeaturesMetadataPlugin .class );
66
68
InternalPrecommitTasks .create (project , true );
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import org.elasticsearch.gradle.internal.precommit.CheckForbiddenApisTask
11
11
12
12
apply plugin : ' elasticsearch.build'
13
13
apply plugin : ' elasticsearch.mrjar'
14
+ apply plugin : ' elasticsearch.publish'
14
15
15
16
tasks. named(' jar' ). configure {
16
17
// guarding for intellij
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ plugins {
3
3
}
4
4
5
5
apply plugin : ' elasticsearch.build'
6
- apply plugin : ' elasticsearch.publish'
7
6
8
7
tasks. named(" dependencyLicenses" ). configure {
9
8
mapping from : / asm-.*/ , to : ' asm'
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ plugins {
3
3
}
4
4
5
5
apply plugin : ' elasticsearch.build'
6
- apply plugin : ' elasticsearch.publish'
7
6
8
7
tasks. named(" dependencyLicenses" ). configure {
9
8
mapping from : / asm-.*/ , to : ' asm'
Original file line number Diff line number Diff line change 8
8
*/
9
9
10
10
apply plugin : ' elasticsearch.build'
11
- apply plugin : ' elasticsearch.publish'
12
11
13
12
dependencies {
14
13
api project(" :test:framework" )
Original file line number Diff line number Diff line change 1
1
apply plugin : ' elasticsearch.build'
2
+ apply plugin : ' elasticsearch.publish'
2
3
apply plugin : ' elasticsearch.internal-yaml-rest-test'
3
4
apply plugin : ' elasticsearch.yaml-rest-compat-test'
4
5
Original file line number Diff line number Diff line change 1
-
2
1
apply plugin : ' elasticsearch.build'
2
+ apply plugin : ' elasticsearch.publish'
3
3
4
4
base {
5
5
archivesName = ' x-pack-template-resources'
Original file line number Diff line number Diff line change 6
6
*/
7
7
8
8
apply plugin : ' elasticsearch.internal-es-plugin'
9
- apply plugin : ' elasticsearch.publish'
10
9
apply plugin : ' elasticsearch.internal-cluster-test'
11
10
esplugin {
12
11
name = ' x-pack-identity-provider'
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import static org.elasticsearch.gradle.util.PlatformUtils.normalize
10
10
apply plugin : ' elasticsearch.internal-es-plugin'
11
11
apply plugin : ' elasticsearch.internal-cluster-test'
12
12
apply plugin : ' elasticsearch.internal-yaml-rest-test'
13
- apply plugin : ' elasticsearch.publish'
14
13
15
14
esplugin {
16
15
name = ' x-pack-kql'
You can’t perform that action at this time.
0 commit comments