From edc110dcc148be7362c4e48ffbff151764afc966 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 24 Oct 2022 14:46:38 +0530 Subject: 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 54bf2af7..4cb4685b 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 0abeaa0e..a77694a0 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 870f5d18..23a14da0 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 795066a5..0aa6b3ac 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 1a547454..fc08cd15 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 96d87dc1..62ff4eeb 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 78f1e8c2..3daf5f4f 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 b644cddd..d05c1ad1 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 93d56eff..56c0c762 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 c3092f6d..f9bd7628 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 722f5259..a42a2404 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 f612b691..5a7ce8c1 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 f91458dd..ea598259 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 f91458dd..ea598259 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 8f874f62..95a0113e 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") -- cgit v1.2.3