diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 594c2f54ddfe..c5b20ad42642 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + import org.jlleitschuh.gradle.ktlint.KtlintExtension plugins { diff --git a/buildSrc/settings.gradle.kts b/buildSrc/settings.gradle.kts index 7d5a1f855590..4b8449782ac8 100644 --- a/buildSrc/settings.gradle.kts +++ b/buildSrc/settings.gradle.kts @@ -1,18 +1,4 @@ -/* - * Copyright (c) 2026 David Allison - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation; either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A - * PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later // Expose the root project's version catalog so buildSrc can reference // `libs.plugins.*` / `libs.versions.*` the same way the rest of the build does. diff --git a/buildSrc/src/main/kotlin/ankidroid.android.api.gradle.kts b/buildSrc/src/main/kotlin/ankidroid.android.api.gradle.kts index 23cad31f9d07..555f4a17e374 100644 --- a/buildSrc/src/main/kotlin/ankidroid.android.api.gradle.kts +++ b/buildSrc/src/main/kotlin/ankidroid.android.api.gradle.kts @@ -1,18 +1,4 @@ -/* - * Copyright (c) 2026 David Allison - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation; either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A - * PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later // Convention plugin: Android library published as a public API artifact. // diff --git a/buildSrc/src/main/kotlin/ankidroid.android.library.gradle.kts b/buildSrc/src/main/kotlin/ankidroid.android.library.gradle.kts index 9af300ac5011..84f22a73b12b 100644 --- a/buildSrc/src/main/kotlin/ankidroid.android.library.gradle.kts +++ b/buildSrc/src/main/kotlin/ankidroid.android.library.gradle.kts @@ -1,18 +1,4 @@ -/* - * Copyright (c) 2026 David Allison - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation; either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A - * PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later /* Convention plugin: applies `com.android.library` and pins the settings diff --git a/buildSrc/src/main/kotlin/ankidroid.jvm.library.gradle.kts b/buildSrc/src/main/kotlin/ankidroid.jvm.library.gradle.kts index 2b3af5fb6033..46833c0453f6 100644 --- a/buildSrc/src/main/kotlin/ankidroid.jvm.library.gradle.kts +++ b/buildSrc/src/main/kotlin/ankidroid.jvm.library.gradle.kts @@ -1,18 +1,4 @@ -/* - * Copyright (c) 2026 David Allison - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation; either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A - * PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later // Convention plugin: applies the Kotlin JVM plugin and pins Java/Kotlin // toolchain settings for pure-JVM (non-Android) modules in this project. diff --git a/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/GitHubActionsTestListener.kt b/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/GitHubActionsTestListener.kt index a29199ab6896..4d8404c290ec 100644 --- a/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/GitHubActionsTestListener.kt +++ b/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/GitHubActionsTestListener.kt @@ -1,18 +1,4 @@ -/* - * Copyright (c) 2026 David Allison - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation; either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A - * PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later package com.ichi2.anki.gradle diff --git a/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/ReportOpener.kt b/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/ReportOpener.kt index d8c053988300..031268652155 100644 --- a/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/ReportOpener.kt +++ b/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/ReportOpener.kt @@ -1,18 +1,4 @@ -/* - * Copyright (c) 2026 David Allison - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation; either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A - * PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later package com.ichi2.anki.gradle diff --git a/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/TestSummaryService.kt b/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/TestSummaryService.kt index f69ec4fe805d..c1809b472737 100644 --- a/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/TestSummaryService.kt +++ b/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/TestSummaryService.kt @@ -1,18 +1,4 @@ -/* - * Copyright (c) 2026 David Allison - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation; either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A - * PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later package com.ichi2.anki.gradle diff --git a/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/VersionCatalogs.kt b/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/VersionCatalogs.kt index d8b6bf3701ef..bf563223b8f8 100644 --- a/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/VersionCatalogs.kt +++ b/buildSrc/src/main/kotlin/com/ichi2/anki/gradle/VersionCatalogs.kt @@ -1,18 +1,4 @@ -/* - * Copyright (c) 2026 David Allison - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License as published by the Free Software - * Foundation; either version 3 of the License, or (at your option) any later - * version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A - * PARTICULAR PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - */ +// SPDX-License-Identifier: GPL-3.0-or-later package com.ichi2.anki.gradle