File tree 7 files changed +43
-2
lines changed
src/main/java/org/elasticsearch/painless/spi
7 files changed +43
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ ext.restTestExpansions = [
83
83
// we create the buildModules task above so the distribution subprojects can
84
84
// depend on it, but we don't actually configure it until here so we can do a single
85
85
// loop over modules to also setup cross task dependencies and increment our modules counter
86
- project. rootProject. subprojects. findAll { it. path . startsWith( ' :modules: ' ) }. each { Project module ->
86
+ project. rootProject. subprojects. findAll { it. parent . path == ' :modules' }. each { Project module ->
87
87
buildFullNotice {
88
88
def defaultLicensesDir = new File (module. projectDir, ' licenses' )
89
89
if (defaultLicensesDir. exists()) {
Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
20
- subprojects {
20
+ configure( subprojects. findAll { it . parent . path == project . path }) {
21
21
group = ' org.elasticsearch.plugin' // for modules which publish client jars
22
22
apply plugin : ' elasticsearch.esplugin'
23
23
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ integTestCluster {
31
31
dependencies {
32
32
compile ' org.antlr:antlr4-runtime:4.5.3'
33
33
compile ' org.ow2.asm:asm-debug-all:5.1'
34
+ compile project(' spi' )
34
35
}
35
36
36
37
dependencyLicenses {
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to Elasticsearch under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright
5
+ * ownership. Elasticsearch licenses this file to you under
6
+ * the Apache License, Version 2.0 (the "License"); you may
7
+ * not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing,
13
+ * software distributed under the License is distributed on an
14
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ * KIND, either express or implied. See the License for the
16
+ * specific language governing permissions and limitations
17
+ * under the License.
18
+ */
19
+
20
+ apply plugin : ' elasticsearch.build'
21
+ apply plugin : ' nebula.maven-base-publish'
22
+ apply plugin : ' nebula.maven-scm'
23
+
24
+ group = ' org.elasticsearch.plugin'
25
+ archivesBaseName = ' elasticsearch-scripting-painless-spi'
26
+
27
+ publishing {
28
+ publications {
29
+ nebula {
30
+ artifactId = archivesBaseName
31
+ }
32
+ }
33
+ }
34
+
35
+ dependencies {
36
+ compile " org.elasticsearch:elasticsearch:${ version} "
37
+ }
38
+
39
+ // no tests...yet?
40
+ test. enabled = false
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments