diff --git a/buildSrc/src/main/resources/license-headers/oss-license-header.txt b/buildSrc/src/main/resources/license-headers/oss-license-header.txt index 344a8ff7d97..b5b39ea4ed3 100644 --- a/buildSrc/src/main/resources/license-headers/oss-license-header.txt +++ b/buildSrc/src/main/resources/license-headers/oss-license-header.txt @@ -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. + */ diff --git a/gradle/ide.gradle b/gradle/ide.gradle index 1455725c2ed..19a92f721cb 100644 --- a/gradle/ide.gradle +++ b/gradle/ide.gradle @@ -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() } } }