Update sources with new SSPL+Elastic-2.0 license headers

As per the new licensing change for Elasticsearch and Kibana this commit
moves existing Apache 2.0 licensed source code to the new dual license
SSPL+Elastic license 2.0. In addition, existing x-pack code now uses
the new version 2.0 of the Elastic license. Full changes include:

- Updating LICENSE and NOTICE files throughout the code base, as well
  as those packaged in our published artifacts
- Update IDE integration to now use the new license header on newly
  created source files
- Remove references to the "OSS" distribution from our documentation
- Update build time verification checks to no longer allow Apache 2.0
  license header in Elasticsearch source code
- Replace all existing Apache 2.0 license headers for non-xpack code
  with updated header (vendored code with Apache 2.0 headers obviously
  remains the same).
- Replace all Elastic license 1.0 headers with new 2.0 header in xpack.
This commit is contained in:
Mark Vieira 2021-02-02 13:41:39 -08:00
parent 6d30b9ce06
commit 2d1e8b3abd
15106 changed files with 65443 additions and 155420 deletions

View file

@ -268,34 +268,24 @@ top-level `x-pack` directory, all contributed code should have the following
license header unless instructed otherwise: license header unless instructed otherwise:
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
The top-level `x-pack` directory contains code covered by the [Elastic The top-level `x-pack` directory contains code covered by the [Elastic
license](licenses/ELASTIC-LICENSE.txt). Community contributions to this code are license](licenses/ELASTIC-LICENSE-2.0.txt). Community contributions to this code are
welcome, and should have the following license header unless instructed welcome, and should have the following license header unless instructed
otherwise: otherwise:
/* /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License; * or more contributor license agreements. Licensed under the Elastic License
* you may not use this file except in compliance with the Elastic License. * 2.0; you may not use this file except in compliance with the Elastic License
*/ * 2.0.
*/
It is important that the only code covered by the Elastic licence is contained It is important that the only code covered by the Elastic licence is contained
within the top-level `x-pack` directory. The build will fail its pre-commit within the top-level `x-pack` directory. The build will fail its pre-commit

View file

@ -1,10 +1,7 @@
Source code in this repository is covered by one of three licenses: (i) the Source code in this repository is covered by (i) a dual license under the Server
Apache License 2.0 (ii) an Apache License 2.0 compatible license (iii) the Side Public License, v 1 and the Elastic License 2.0 or (ii) an Apache License
Elastic License. The default license throughout the repository is Apache License 2.0 compatible license or (iii) solely under the Elastic License 2.0, in each
2.0 unless the header specifies another license. Elastic Licensed code is found case, as noted in the applicable header. The default throughout the repository
only in the x-pack directory. is a dual license under the Server Side Public License, v 1 and the Elastic
License 2.0, unless the header specifies another license. Code that is licensed
The build produces two sets of binaries - one set that falls under the Elastic solely under the Elastic License 2.0 is found only in the x-pack folder.
License and another set that falls under Apache License 2.0. The binaries that
contain `-oss` in the artifact name are licensed under Apache License 2.0 and
these binaries do not package any code from the x-pack directory.

View file

@ -1,5 +1,5 @@
Elasticsearch Elasticsearch
Copyright 2009-2018 Elasticsearch Copyright 2009-2021 Elasticsearch
This product includes software developed by The Apache Software This product includes software developed by The Apache Software
Foundation (http://www.apache.org/). Foundation (http://www.apache.org/).

21
Vagrantfile vendored
View file

@ -4,22 +4,11 @@
# This Vagrantfile exists to test packaging. Read more about its use in the # This Vagrantfile exists to test packaging. Read more about its use in the
# vagrant section in TESTING.asciidoc. # vagrant section in TESTING.asciidoc.
# Licensed to Elasticsearch under one or more contributor # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# license agreements. See the NOTICE file distributed with # or more contributor license agreements. Licensed under the Elastic License
# this work for additional information regarding copyright # 2.0 and the Server Side Public License, v 1; you may not use this file except
# ownership. Elasticsearch licenses this file to you under # in compliance with, at your election, the Elastic License 2.0 or the Server
# the Apache License, Version 2.0 (the "License"); you may # Side Public License, v 1.
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
define_opts = { define_opts = {
autostart: false autostart: false

View file

@ -1,22 +1,11 @@
import org.elasticsearch.gradle.info.BuildParams import org.elasticsearch.gradle.info.BuildParams
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
apply plugin: 'elasticsearch.build' apply plugin: 'elasticsearch.build'

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.benchmark.fs; package org.elasticsearch.benchmark.fs;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.benchmark.indices.breaker; package org.elasticsearch.benchmark.indices.breaker;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.benchmark.routing.allocation; package org.elasticsearch.benchmark.routing.allocation;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.benchmark.routing.allocation; package org.elasticsearch.benchmark.routing.allocation;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.benchmark.search.aggregations; package org.elasticsearch.benchmark.search.aggregations;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.benchmark.search.aggregations; package org.elasticsearch.benchmark.search.aggregations;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.benchmark.search.aggregations.bucket.terms; package org.elasticsearch.benchmark.search.aggregations.bucket.terms;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.benchmark.search.aggregations.bucket.terms; package org.elasticsearch.benchmark.search.aggregations.bucket.terms;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.benchmark.time; package org.elasticsearch.benchmark.time;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.benchmark.time; package org.elasticsearch.benchmark.time;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.benchmark.time; package org.elasticsearch.benchmark.time;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.common; package org.elasticsearch.common;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
import com.avast.gradle.dockercompose.tasks.ComposePull import com.avast.gradle.dockercompose.tasks.ComposePull
@ -63,7 +52,7 @@ if (VersionProperties.elasticsearch.toString().endsWith('-SNAPSHOT')) {
} else { } else {
licenseCommit = "v${version}" licenseCommit = "v${version}"
} }
String elasticLicenseUrl = "https://raw.githubusercontent.com/elastic/elasticsearch/${licenseCommit}/licenses/ELASTIC-LICENSE.txt" String elasticLicenseUrl = "https://raw.githubusercontent.com/elastic/elasticsearch/${licenseCommit}/licenses/ELASTIC-LICENSE-2.0.txt"
configure(allprojects - project(':distribution:archives:integ-test-zip')) { configure(allprojects - project(':distribution:archives:integ-test-zip')) {
project.pluginManager.withPlugin('nebula.maven-base-publish') { project.pluginManager.withPlugin('nebula.maven-base-publish') {
@ -74,9 +63,11 @@ configure(allprojects - project(':distribution:archives:integ-test-zip')) {
} }
subprojects { subprojects {
// Default to the apache license // Default to the SSPL+Elastic dual license
project.ext.licenseName = 'The Apache Software License, Version 2.0' project.ext.projectLicenses = [
project.ext.licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt' 'Server Side Public License, v 1': 'https://www.mongodb.com/licensing/server-side-public-license',
'Elastic License 2.0': elasticLicenseUrl
]
// But stick the Elastic license url in project.ext so we can get it if we need to switch to it // But stick the Elastic license url in project.ext so we can get it if we need to switch to it
project.ext.elasticLicenseUrl = elasticLicenseUrl project.ext.elasticLicenseUrl = elasticLicenseUrl
@ -91,10 +82,13 @@ subprojects {
Node node = xml.asNode() Node node = xml.asNode()
node.appendNode('inceptionYear', '2009') node.appendNode('inceptionYear', '2009')
Node license = node.appendNode('licenses').appendNode('license') Node licensesNode = node.appendNode('licenses')
license.appendNode('name', project.licenseName) project.ext.projectLicenses.forEach { licenseName, licenseUrl ->
license.appendNode('url', project.licenseUrl) Node license = licensesNode.appendNode('license')
license.appendNode('distribution', 'repo') license.appendNode('name', licenseName)
license.appendNode('url', licenseUrl)
license.appendNode('distribution', 'repo')
}
Node developer = node.appendNode('developers').appendNode('developer') Node developer = node.appendNode('developers').appendNode('developer')
developer.appendNode('name', 'Elastic') developer.appendNode('name', 'Elastic')
@ -112,7 +106,7 @@ subprojects {
} }
plugins.withType(BuildPlugin).whenPluginAdded { plugins.withType(BuildPlugin).whenPluginAdded {
project.licenseFile = project.rootProject.file('licenses/APACHE-LICENSE-2.0.txt') project.licenseFile = project.rootProject.file('licenses/SSPL-1.0+ELASTIC-LICENSE-2.0.txt')
project.noticeFile = project.rootProject.file('NOTICE.txt') project.noticeFile = project.rootProject.file('NOTICE.txt')
} }
} }
@ -378,9 +372,9 @@ allprojects {
prefix = prefix.replace(':', '_') prefix = prefix.replace(':', '_')
} }
if (eclipse.project.name.startsWith(prefix)) { if (eclipse.project.name.startsWith(prefix)) {
licenseHeaderFile = new File(project.rootDir, 'buildSrc/src/main/resources/license-headers/elastic-license-header.txt') licenseHeaderFile = new File(project.rootDir, 'buildSrc/src/main/resources/license-headers/elastic-license-2.0-header.txt')
} else { } else {
licenseHeaderFile = new File(project.rootDir, 'buildSrc/src/main/resources/license-headers/oss-license-header.txt') licenseHeaderFile = new File(project.rootDir, 'buildSrc/src/main/resources/license-headers/sspl+elastic-license-header.txt')
} }
String lineSeparator = Os.isFamily(Os.FAMILY_WINDOWS) ? '\\\\r\\\\n' : '\\\\n' String lineSeparator = Os.isFamily(Os.FAMILY_WINDOWS) ? '\\\\r\\\\n' : '\\\\n'

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
import org.gradle.internal.jvm.Jvm import org.gradle.internal.jvm.Jvm
@ -107,7 +96,7 @@ dependencies {
api "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${props.getProperty('jackson')}" api "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${props.getProperty('jackson')}"
api 'org.ow2.asm:asm:9.0' api 'org.ow2.asm:asm:9.0'
api 'org.ow2.asm:asm-tree:9.0' api 'org.ow2.asm:asm-tree:9.0'
compileOnly "com.puppycrawl.tools:checkstyle:${props.getProperty('checkstyle')}" compileOnly "com.puppycrawl.tools:checkstyle:${props.getProperty('checkstyle')}"
testImplementation "com.puppycrawl.tools:checkstyle:${props.getProperty('checkstyle')}" testImplementation "com.puppycrawl.tools:checkstyle:${props.getProperty('checkstyle')}"
testFixturesApi "junit:junit:${props.getProperty('junit')}" testFixturesApi "junit:junit:${props.getProperty('junit')}"

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.reaper; package org.elasticsearch.gradle.reaper;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle package org.elasticsearch.gradle
@ -93,10 +82,10 @@ class DistributionDownloadPluginFuncTest extends AbstractGradleFuncTest {
plugins { plugins {
id 'elasticsearch.distribution-download' id 'elasticsearch.distribution-download'
} }
subprojects { subprojects {
apply plugin: 'elasticsearch.distribution-download' apply plugin: 'elasticsearch.distribution-download'
${setupTestDistro(version, platform)} ${setupTestDistro(version, platform)}
${setupDistroTask()} ${setupDistroTask()}
} }
@ -133,7 +122,7 @@ class DistributionDownloadPluginFuncTest extends AbstractGradleFuncTest {
${setupTestDistro(version, platform)} ${setupTestDistro(version, platform)}
${setupDistroTask()} ${setupDistroTask()}
""" """
} }
@ -158,4 +147,4 @@ class DistributionDownloadPluginFuncTest extends AbstractGradleFuncTest {
} }
""" """
} }
} }

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle package org.elasticsearch.gradle
@ -35,8 +24,8 @@ class ElasticsearchJavaPluginFuncTest extends AbstractGradleFuncTest {
apply plugin:'elasticsearch.java' apply plugin:'elasticsearch.java'
assert compileJava.sourceCompatibility == JavaVersion.VERSION_1_10.toString() assert compileJava.sourceCompatibility == JavaVersion.VERSION_1_10.toString()
assert compileJava.targetCompatibility == JavaVersion.VERSION_1_10.toString() assert compileJava.targetCompatibility == JavaVersion.VERSION_1_10.toString()
""" """
then: then:
@ -49,7 +38,7 @@ class ElasticsearchJavaPluginFuncTest extends AbstractGradleFuncTest {
plugins { plugins {
id 'elasticsearch.java' id 'elasticsearch.java'
} }
compileJava.targetCompatibility = "1.10" compileJava.targetCompatibility = "1.10"
afterEvaluate { afterEvaluate {
assert compileJava.options.release.get() == 10 assert compileJava.options.release.get() == 10

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle package org.elasticsearch.gradle
@ -27,9 +16,9 @@ class ElasticsearchTestBasePluginFuncTest extends AbstractGradleFuncTest {
def "can configure nonInputProperties for test tasks"() { def "can configure nonInputProperties for test tasks"() {
given: given:
file("src/test/java/acme/SomeTests.java").text = """ file("src/test/java/acme/SomeTests.java").text = """
public class SomeTests { public class SomeTests {
@org.junit.Test @org.junit.Test
public void testSysInput() { public void testSysInput() {
org.junit.Assert.assertEquals("bar", System.getProperty("foo")); org.junit.Assert.assertEquals("bar", System.getProperty("foo"));
} }
@ -41,15 +30,15 @@ class ElasticsearchTestBasePluginFuncTest extends AbstractGradleFuncTest {
id 'java' id 'java'
id 'elasticsearch.test-base' id 'elasticsearch.test-base'
} }
repositories { repositories {
jcenter() jcenter()
} }
dependencies { dependencies {
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
} }
tasks.named('test').configure { tasks.named('test').configure {
nonInputProperties.systemProperty("foo", project.getProperty('foo')) nonInputProperties.systemProperty("foo", project.getProperty('foo'))
} }
@ -67,4 +56,4 @@ class ElasticsearchTestBasePluginFuncTest extends AbstractGradleFuncTest {
then: then:
result.task(':test').outcome == TaskOutcome.UP_TO_DATE result.task(':test').outcome == TaskOutcome.UP_TO_DATE
} }
} }

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle package org.elasticsearch.gradle
@ -53,7 +42,7 @@ class JdkDownloadPluginFuncTest extends AbstractGradleFuncTest {
plugins { plugins {
id 'elasticsearch.jdk-download' id 'elasticsearch.jdk-download'
} }
jdks { jdks {
myJdk { myJdk {
vendor = '$jdkVendor' vendor = '$jdkVendor'
@ -109,10 +98,10 @@ class JdkDownloadPluginFuncTest extends AbstractGradleFuncTest {
plugins { plugins {
id 'elasticsearch.jdk-download' apply false id 'elasticsearch.jdk-download' apply false
} }
subprojects { subprojects {
apply plugin: 'elasticsearch.jdk-download' apply plugin: 'elasticsearch.jdk-download'
jdks { jdks {
myJdk { myJdk {
vendor = '$jdkVendor' vendor = '$jdkVendor'
@ -165,7 +154,7 @@ class JdkDownloadPluginFuncTest extends AbstractGradleFuncTest {
architecture = "x64" architecture = "x64"
} }
} }
tasks.register("getJdk") { tasks.register("getJdk") {
dependsOn jdks.myJdk dependsOn jdks.myJdk
doLast { doLast {

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle package org.elasticsearch.gradle

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle package org.elasticsearch.gradle
@ -57,7 +46,7 @@ class TestClustersPluginFuncTest extends AbstractGradleFuncTest {
testDistribution = 'default' testDistribution = 'default'
} }
} }
tasks.register('myTask', SomeClusterAwareTask) { tasks.register('myTask', SomeClusterAwareTask) {
useCluster testClusters.myCluster useCluster testClusters.myCluster
} }
@ -109,7 +98,7 @@ class TestClustersPluginFuncTest extends AbstractGradleFuncTest {
extraJarFile(file('${someJar().absolutePath}')) extraJarFile(file('${someJar().absolutePath}'))
} }
} }
tasks.register('myTask', SomeClusterAwareTask) { tasks.register('myTask', SomeClusterAwareTask) {
useCluster testClusters.myCluster useCluster testClusters.myCluster
} }

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle package org.elasticsearch.gradle

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.fixtures package org.elasticsearch.gradle.fixtures

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.fixtures package org.elasticsearch.gradle.fixtures

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.fixtures; package org.elasticsearch.gradle.fixtures;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.fixtures package org.elasticsearch.gradle.fixtures

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.fixtures package org.elasticsearch.gradle.fixtures

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal
@ -28,8 +17,8 @@ class InternalBwcGitPluginFuncTest extends AbstractGitAwareGradleFuncTest {
internalBuild() internalBuild()
buildFile << """ buildFile << """
import org.elasticsearch.gradle.Version; import org.elasticsearch.gradle.Version;
apply plugin: org.elasticsearch.gradle.internal.InternalBwcGitPlugin apply plugin: org.elasticsearch.gradle.internal.InternalBwcGitPlugin
bwcGitConfig { bwcGitConfig {
bwcVersion = project.provider { Version.fromString("7.9.1") } bwcVersion = project.provider { Version.fromString("7.9.1") }
bwcBranch = project.provider { "7.x" } bwcBranch = project.provider { "7.x" }
@ -58,7 +47,7 @@ class InternalBwcGitPluginFuncTest extends AbstractGitAwareGradleFuncTest {
dependencies { dependencies {
consumeCheckout project(path:":", configuration: "checkout") consumeCheckout project(path:":", configuration: "checkout")
} }
tasks.register("register") { tasks.register("register") {
dependsOn configurations.consumeCheckout dependsOn configurations.consumeCheckout
doLast { doLast {

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal
@ -38,7 +27,7 @@ class InternalDistributionArchiveCheckPluginFuncTest extends AbstractGradleFuncT
}""" }"""
} }
file("SomeFile.txt") << """ file("SomeFile.txt") << """
some dummy txt file some dummy txt file
""" """
buildFile << """ buildFile << """
@ -59,7 +48,7 @@ class InternalDistributionArchiveCheckPluginFuncTest extends AbstractGradleFuncT
def "plain class files in distribution #archiveType archives are detected"() { def "plain class files in distribution #archiveType archives are detected"() {
given: given:
file("SomeFile.class") << """ file("SomeFile.class") << """
some dummy class file some dummy class file
""" """
buildFile << """ buildFile << """
tasks.withType(AbstractArchiveTask).configureEach { tasks.withType(AbstractArchiveTask).configureEach {
@ -123,7 +112,7 @@ Copyright 2009-2018 Acme Coorp"""
result.task(":darwin-tar:checkNotice").outcome == TaskOutcome.FAILED result.task(":darwin-tar:checkNotice").outcome == TaskOutcome.FAILED
normalized(result.output).contains("> expected line [2] in " + normalized(result.output).contains("> expected line [2] in " +
"[./darwin-tar/build/tar-extracted/elasticsearch-${VersionProperties.getElasticsearch()}/NOTICE.txt] " + "[./darwin-tar/build/tar-extracted/elasticsearch-${VersionProperties.getElasticsearch()}/NOTICE.txt] " +
"to be [Copyright 2009-2018 Elasticsearch] but was [Copyright 2009-2018 Acme Coorp]") "to be [Copyright 2009-2021 Elasticsearch] but was [Copyright 2009-2018 Acme Coorp]")
} }
def "fails on unexpected ml notice content"() { def "fails on unexpected ml notice content"() {
@ -131,7 +120,7 @@ Copyright 2009-2018 Acme Coorp"""
elasticLicense() elasticLicense()
elasticLicense(file("LICENSE.txt")) elasticLicense(file("LICENSE.txt"))
file("NOTICE.txt").text = """Elasticsearch file("NOTICE.txt").text = """Elasticsearch
Copyright 2009-2018 Elasticsearch""" Copyright 2009-2021 Elasticsearch"""
file("ml/NOTICE.txt").text = "Boost Software License - Version 1.0 - August 17th, 2003" file("ml/NOTICE.txt").text = "Boost Software License - Version 1.0 - August 17th, 2003"
file('darwin-tar/build.gradle') << """ file('darwin-tar/build.gradle') << """
@ -163,7 +152,7 @@ Copyright 2009-2018 Elasticsearch"""
"to contain [foo license] but it did not") "to contain [foo license] but it did not")
} }
void elasticLicense(File file = file("licenses/ELASTIC-LICENSE.txt")) { void elasticLicense(File file = file("licenses/ELASTIC-LICENSE-2.0.txt")) {
file << """elastic license coorp stuff line 1 file << """elastic license coorp stuff line 1
elastic license coorp stuff line 2 elastic license coorp stuff line 2
elastic license coorp stuff line 3 elastic license coorp stuff line 3

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal
@ -34,7 +23,7 @@ class InternalDistributionArchiveSetupPluginFuncTest extends AbstractGradleFuncT
def setup() { def setup() {
buildFile << """ buildFile << """
import org.elasticsearch.gradle.tar.SymbolicLinkPreservingTar import org.elasticsearch.gradle.tar.SymbolicLinkPreservingTar
plugins { plugins {
id 'elasticsearch.internal-distribution-archive-setup' id 'elasticsearch.internal-distribution-archive-setup'
} }
@ -112,23 +101,23 @@ class InternalDistributionArchiveSetupPluginFuncTest extends AbstractGradleFuncT
} }
} }
} }
project('consumer') { p -> project('consumer') { p ->
configurations { configurations {
consumeArchive {} consumeArchive {}
consumeDir {} consumeDir {}
} }
dependencies { dependencies {
consumeDir project(path: ':producer-tar', configuration:'extracted') consumeDir project(path: ':producer-tar', configuration:'extracted')
consumeArchive project(path: ':producer-tar', configuration:'default' ) consumeArchive project(path: ':producer-tar', configuration:'default' )
} }
tasks.register("copyDir", Copy) { tasks.register("copyDir", Copy) {
from(configurations.consumeDir) from(configurations.consumeDir)
into('build/dir') into('build/dir')
} }
tasks.register("copyArchive", Copy) { tasks.register("copyArchive", Copy) {
from(configurations.consumeArchive) from(configurations.consumeArchive)
into('build/archives') into('build/archives')

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.internal package org.elasticsearch.gradle.internal
@ -142,7 +131,7 @@ class InternalDistributionDownloadPluginFuncTest extends AbstractGradleFuncTest
new File(bwcSubProjectFolder, 'bwc-marker.txt') << "bwc=minor" new File(bwcSubProjectFolder, 'bwc-marker.txt') << "bwc=minor"
new File(bwcSubProjectFolder, 'build.gradle') << """ new File(bwcSubProjectFolder, 'build.gradle') << """
apply plugin:'base' apply plugin:'base'
// packed distro // packed distro
configurations.create("linux-tar") configurations.create("linux-tar")
tasks.register("buildBwcTask", Tar) { tasks.register("buildBwcTask", Tar) {
@ -153,7 +142,7 @@ class InternalDistributionDownloadPluginFuncTest extends AbstractGradleFuncTest
artifacts { artifacts {
it.add("linux-tar", buildBwcTask) it.add("linux-tar", buildBwcTask)
} }
// expanded distro // expanded distro
configurations.create("expanded-linux-tar") configurations.create("expanded-linux-tar")
def expandedTask = tasks.register("buildBwcExpandedTask", Copy) { def expandedTask = tasks.register("buildBwcExpandedTask", Copy) {

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.internal.precommit package org.elasticsearch.gradle.internal.precommit
@ -32,7 +21,7 @@ class LicenseHeadersPrecommitPluginFuncTest extends AbstractGradleFuncTest {
id 'elasticsearch.internal-licenseheaders' id 'elasticsearch.internal-licenseheaders'
} }
""" """
apacheSourceFile() dualLicensedFile()
unknownSourceFile() unknownSourceFile()
unapprovedSourceFile() unapprovedSourceFile()
@ -41,10 +30,10 @@ class LicenseHeadersPrecommitPluginFuncTest extends AbstractGradleFuncTest {
then: then:
result.task(":licenseHeaders").outcome == TaskOutcome.FAILED result.task(":licenseHeaders").outcome == TaskOutcome.FAILED
assertOutputContains(result.output, "> License header problems were found! Full details: ./build/reports/licenseHeaders/rat.xml") assertOutputContains(result.output, "> Check failed. License header problems were found. Full details: ./build/reports/licenseHeaders/rat.xml")
assertOutputContains(result.output, "./src/main/java/org/acme/UnknownLicensed.java") assertOutputContains(result.output, "./src/main/java/org/acme/UnknownLicensed.java")
assertOutputContains(result.output, "./src/main/java/org/acme/UnapprovedLicensed.java") assertOutputContains(result.output, "./src/main/java/org/acme/UnapprovedLicensed.java")
normalized(result.output).contains("./src/main/java/org/acme/ApacheLicensed.java") == false normalized(result.output).contains("./src/main/java/org/acme/DualLicensed.java") == false
} }
def "can filter source files"() { def "can filter source files"() {
@ -54,12 +43,12 @@ class LicenseHeadersPrecommitPluginFuncTest extends AbstractGradleFuncTest {
id 'java' id 'java'
id 'elasticsearch.internal-licenseheaders' id 'elasticsearch.internal-licenseheaders'
} }
tasks.named("licenseHeaders").configure { tasks.named("licenseHeaders").configure {
excludes << 'org/acme/filtered/**/*' excludes << 'org/acme/filtered/**/*'
} }
""" """
apacheSourceFile() dualLicensedFile()
unknownSourceFile("src/main/java/org/acme/filtered/FilteredUnknownLicensed.java") unknownSourceFile("src/main/java/org/acme/filtered/FilteredUnknownLicensed.java")
unapprovedSourceFile("src/main/java/org/acme/filtered/FilteredUnapprovedLicensed.java") unapprovedSourceFile("src/main/java/org/acme/filtered/FilteredUnapprovedLicensed.java")
@ -90,7 +79,7 @@ class LicenseHeadersPrecommitPluginFuncTest extends AbstractGradleFuncTest {
*/ */
package ${packageString(sourceFile)}; package ${packageString(sourceFile)};
public class ${sourceFile.getName() - ".java"} { public class ${sourceFile.getName() - ".java"} {
} }
""" """
@ -102,37 +91,26 @@ class LicenseHeadersPrecommitPluginFuncTest extends AbstractGradleFuncTest {
/* /*
* Blubb my custom license shrug! * Blubb my custom license shrug!
*/ */
package ${packageString(sourceFile)}; package ${packageString(sourceFile)};
public class ${sourceFile.getName() - ".java"} { public class ${sourceFile.getName() - ".java"} {
} }
""" """
} }
private File apacheSourceFile() { private File dualLicensedFile() {
file("src/main/java/org/acme/ApacheLicensed.java") << """ file("src/main/java/org/acme/DualLicensed.java") << """
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.acme; package org.acme;
public class ApacheLicensed { public class DualLicensed {
} }
""" """
} }

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,22 +1,11 @@
package org.elasticsearch.gradle; package org.elasticsearch.gradle;
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
import org.elasticsearch.gradle.test.GradleIntegrationTestCase; import org.elasticsearch.gradle.test.GradleIntegrationTestCase;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.precommit; package org.elasticsearch.gradle.precommit;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.precommit; package org.elasticsearch.gradle.precommit;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.tar; package org.elasticsearch.gradle.tar;

View file

@ -1,20 +1,9 @@
# #
# Licensed to Elasticsearch under one or more contributor # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# license agreements. See the NOTICE file distributed with # or more contributor license agreements. Licensed under the Elastic License
# this work for additional information regarding copyright # 2.0 and the Server Side Public License, v 1; you may not use this file except
# ownership. Elasticsearch licenses this file to you under # in compliance with, at your election, the Elastic License 2.0 or the Server
# the Apache License, Version 2.0 (the "License"); you may # Side Public License, v 1.
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# #
ES_BUILD_JAVA=openjdk14 ES_BUILD_JAVA=openjdk14
ES_RUNTIME_JAVA=openjdk14 ES_RUNTIME_JAVA=openjdk14

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
subprojects { subprojects {

View file

@ -1,18 +1,7 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */

View file

@ -1,20 +1,9 @@
# #
# Licensed to Elasticsearch under one or more contributor # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# license agreements. See the NOTICE file distributed with # or more contributor license agreements. Licensed under the Elastic License
# this work for additional information regarding copyright # 2.0 and the Server Side Public License, v 1; you may not use this file except
# ownership. Elasticsearch licenses this file to you under # in compliance with, at your election, the Elastic License 2.0 or the Server
# the Apache License, Version 2.0 (the "License"); you may # Side Public License, v 1.
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# #
# forcing to use TLS1.2 to avoid failure in vault # forcing to use TLS1.2 to avoid failure in vault

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
rootProject.name = "root" rootProject.name = "root"

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle package org.elasticsearch.gradle

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle package org.elasticsearch.gradle

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle package org.elasticsearch.gradle

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle package org.elasticsearch.gradle

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.doc package org.elasticsearch.gradle.doc

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.doc package org.elasticsearch.gradle.doc

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.doc package org.elasticsearch.gradle.doc

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.plugin package org.elasticsearch.gradle.plugin

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.test package org.elasticsearch.gradle.test

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.test package org.elasticsearch.gradle.test

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.test package org.elasticsearch.gradle.test

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.test package org.elasticsearch.gradle.test

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.test package org.elasticsearch.gradle.test

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle.test package org.elasticsearch.gradle.test

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

View file

@ -1,20 +1,9 @@
/* /*
* Licensed to Elasticsearch under one or more contributor * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* license agreements. See the NOTICE file distributed with * or more contributor license agreements. Licensed under the Elastic License
* this work for additional information regarding copyright * 2.0 and the Server Side Public License, v 1; you may not use this file except
* ownership. Elasticsearch licenses this file to you under * in compliance with, at your election, the Elastic License 2.0 or the Server
* the Apache License, Version 2.0 (the "License"); you may * Side Public License, v 1.
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/ */
package org.elasticsearch.gradle; package org.elasticsearch.gradle;

Some files were not shown because too many files have changed in this diff Show more