From edc110dcc148be7362c4e48ffbff151764afc966 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 24 Oct 2022 14:46:38 +0530 Subject: [PATCH] chore(gradle): add missing suppressions and license headers --- app/build.gradle.kts | 1 + autofill-parser/build.gradle.kts | 1 + build-logic/android-plugins/build.gradle.kts | 1 + build-logic/automation-plugins/build.gradle.kts | 1 + build-logic/kotlin-plugins/build.gradle.kts | 1 + coroutine-utils-testing/build.gradle.kts | 2 ++ coroutine-utils/build.gradle.kts | 2 ++ crypto-common/build.gradle.kts | 2 ++ crypto-pgpainless/build.gradle.kts | 1 + format-common-impl/build.gradle.kts | 6 ++++++ format-common/build.gradle.kts | 1 + passgen/diceware/build.gradle.kts | 1 + passgen/random/build.gradle.kts | 6 ++++++ sentry-stub/build.gradle.kts | 6 ++++++ ui-compose/build.gradle.kts | 6 ++++++ 15 files changed, 38 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 54bf2af72..4cb4685b8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -2,6 +2,7 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { id("com.github.android-password-store.android-application") diff --git a/autofill-parser/build.gradle.kts b/autofill-parser/build.gradle.kts index 0abeaa0ec..a77694a0c 100644 --- a/autofill-parser/build.gradle.kts +++ b/autofill-parser/build.gradle.kts @@ -2,6 +2,7 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { id("com.github.android-password-store.published-android-library") diff --git a/build-logic/android-plugins/build.gradle.kts b/build-logic/android-plugins/build.gradle.kts index 870f5d18f..23a14da02 100644 --- a/build-logic/android-plugins/build.gradle.kts +++ b/build-logic/android-plugins/build.gradle.kts @@ -2,6 +2,7 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") import org.gradle.api.JavaVersion import org.gradle.api.tasks.compile.JavaCompile diff --git a/build-logic/automation-plugins/build.gradle.kts b/build-logic/automation-plugins/build.gradle.kts index 795066a5a..0aa6b3acc 100644 --- a/build-logic/automation-plugins/build.gradle.kts +++ b/build-logic/automation-plugins/build.gradle.kts @@ -2,6 +2,7 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") import org.gradle.api.JavaVersion import org.gradle.api.tasks.compile.JavaCompile diff --git a/build-logic/kotlin-plugins/build.gradle.kts b/build-logic/kotlin-plugins/build.gradle.kts index 1a547454b..fc08cd15e 100644 --- a/build-logic/kotlin-plugins/build.gradle.kts +++ b/build-logic/kotlin-plugins/build.gradle.kts @@ -2,6 +2,7 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") import org.gradle.api.JavaVersion import org.gradle.api.tasks.compile.JavaCompile diff --git a/coroutine-utils-testing/build.gradle.kts b/coroutine-utils-testing/build.gradle.kts index 96d87dc15..62ff4eeb1 100644 --- a/coroutine-utils-testing/build.gradle.kts +++ b/coroutine-utils-testing/build.gradle.kts @@ -2,6 +2,8 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") + plugins { kotlin("jvm") id("com.github.android-password-store.kotlin-library") diff --git a/coroutine-utils/build.gradle.kts b/coroutine-utils/build.gradle.kts index 78f1e8c26..3daf5f4ff 100644 --- a/coroutine-utils/build.gradle.kts +++ b/coroutine-utils/build.gradle.kts @@ -2,6 +2,8 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") + plugins { kotlin("jvm") id("com.github.android-password-store.kotlin-library") diff --git a/crypto-common/build.gradle.kts b/crypto-common/build.gradle.kts index b644cddd1..d05c1ad1f 100644 --- a/crypto-common/build.gradle.kts +++ b/crypto-common/build.gradle.kts @@ -2,6 +2,8 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") + plugins { kotlin("jvm") id("com.github.android-password-store.kotlin-library") diff --git a/crypto-pgpainless/build.gradle.kts b/crypto-pgpainless/build.gradle.kts index 93d56effe..56c0c7621 100644 --- a/crypto-pgpainless/build.gradle.kts +++ b/crypto-pgpainless/build.gradle.kts @@ -2,6 +2,7 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { kotlin("jvm") diff --git a/format-common-impl/build.gradle.kts b/format-common-impl/build.gradle.kts index c3092f6d4..f9bd7628b 100644 --- a/format-common-impl/build.gradle.kts +++ b/format-common-impl/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * SPDX-License-Identifier: GPL-3.0-only + */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") + plugins { id("com.github.android-password-store.android-library") id("com.github.android-password-store.kotlin-android") diff --git a/format-common/build.gradle.kts b/format-common/build.gradle.kts index 722f52598..a42a24044 100644 --- a/format-common/build.gradle.kts +++ b/format-common/build.gradle.kts @@ -2,6 +2,7 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { kotlin("jvm") diff --git a/passgen/diceware/build.gradle.kts b/passgen/diceware/build.gradle.kts index f612b691e..5a7ce8c16 100644 --- a/passgen/diceware/build.gradle.kts +++ b/passgen/diceware/build.gradle.kts @@ -2,6 +2,7 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") plugins { id("com.github.android-password-store.android-library") diff --git a/passgen/random/build.gradle.kts b/passgen/random/build.gradle.kts index f91458ddf..ea598259c 100644 --- a/passgen/random/build.gradle.kts +++ b/passgen/random/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * SPDX-License-Identifier: GPL-3.0-only + */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") + plugins { kotlin("jvm") id("com.github.android-password-store.kotlin-library") diff --git a/sentry-stub/build.gradle.kts b/sentry-stub/build.gradle.kts index f91458ddf..ea598259c 100644 --- a/sentry-stub/build.gradle.kts +++ b/sentry-stub/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * SPDX-License-Identifier: GPL-3.0-only + */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") + plugins { kotlin("jvm") id("com.github.android-password-store.kotlin-library") diff --git a/ui-compose/build.gradle.kts b/ui-compose/build.gradle.kts index 8f874f622..95a0113ed 100644 --- a/ui-compose/build.gradle.kts +++ b/ui-compose/build.gradle.kts @@ -1,3 +1,9 @@ +/* + * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. + * SPDX-License-Identifier: GPL-3.0-only + */ +@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage") + plugins { id("com.github.android-password-store.android-library") id("com.github.android-password-store.kotlin-android")