From 9fcf664166c1195c9d5680e7a67dcb7978fd73b5 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 6 Sep 2024 17:44:36 +0200 Subject: [PATCH] Migrate license to AGPL --- build.gradle.kts | 23 +++++++---------------- settings.gradle.kts | 19 +++++-------------- 2 files changed, 12 insertions(+), 30 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 22938c9fd5..bf3750e2a1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,10 @@ +/* + * Copyright 2022-2024 New Vector Ltd. + * + * SPDX-License-Identifier: AGPL-3.0-only + * Please see LICENSE in the repository root for full details. + */ + buildscript { dependencies { classpath(libs.kotlin.gradle.plugin) @@ -5,22 +12,6 @@ buildscript { } } -/* - * Copyright (c) 2022 New Vector Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may 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. - */ - // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { id("io.element.android-root") diff --git a/settings.gradle.kts b/settings.gradle.kts index 7bb0543c01..e99b6811bc 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,21 +1,12 @@ -import java.net.URI - /* - * Copyright (c) 2022 New Vector Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * Copyright 2022-2024 New Vector Ltd. * - * 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. + * SPDX-License-Identifier: AGPL-3.0-only + * Please see LICENSE in the repository root for full details. */ +import java.net.URI + pluginManagement { repositories { includeBuild("plugins")