[License] Update SPDX License Header (#510)

This commit updates the SPDX License Header for all new files created by
OpenSearch contributors.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
This commit is contained in:
Nick Knize 2021-04-09 13:49:56 -05:00 committed by GitHub
parent 7949f92bec
commit 8f4b2d58d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 5 deletions

View File

@ -1,2 +1,7 @@
// Copyright OpenSearch Contributors.
// SPDX-License-Identifier: Apache-2.0
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/

View File

@ -77,10 +77,13 @@ if (System.getProperty('idea.active') == 'true') {
useDefault = 'Apache'
profiles {
Apache {
keyword = 'Copyright OpenSearch Contributors.'
keyword = 'SPDX-License-Identifier: Apache-2.0'
notice = '''\
Copyright OpenSearch Contributors.
SPDX-License-Identifier: Apache-2.0'''.stripIndent()
SPDX-License-Identifier: Apache-2.0
The OpenSearch Contributors require contributions made to
this file be licensed under the Apache-2.0 license or a
compatible open source license.'''.stripIndent()
}
}
}