Skip to content

Commit

Permalink
[License] Update SPDX License Header (#510)
Browse files Browse the repository at this point in the history
This commit updates the SPDX License Header for all new files created by
OpenSearch contributors.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
  • Loading branch information
nknize authored Apr 9, 2021
1 parent 7949f92 commit 8f4b2d5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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.
*/
9 changes: 6 additions & 3 deletions gradle/ide.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
}
Expand Down

0 comments on commit 8f4b2d5

Please sign in to comment.