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,33 +268,23 @@ 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

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('name', licenseName)
license.appendNode('url', licenseUrl)
license.appendNode('distribution', 'repo') 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

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

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.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

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
@ -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

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

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"() {
@ -59,7 +48,7 @@ class LicenseHeadersPrecommitPluginFuncTest extends AbstractGradleFuncTest {
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")
@ -110,29 +99,18 @@ class LicenseHeadersPrecommitPluginFuncTest extends AbstractGradleFuncTest {
""" """
} }
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