diff --git a/account-manager/build.gradle.kts b/account-manager/build.gradle.kts index fbe02a81f..16e4fd679 100644 --- a/account-manager/build.gradle.kts +++ b/account-manager/build.gradle.kts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. + * + * ProtonCore 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. + * + * ProtonCore 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 ProtonCore. If not, see . + */ + import studio.forface.easygradle.dsl.* /* @@ -22,6 +40,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/account/build.gradle.kts b/account/build.gradle.kts index 67dd3677f..5ad4f48c7 100644 --- a/account/build.gradle.kts +++ b/account/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/auth/build.gradle.kts b/auth/build.gradle.kts index 4f0add8b6..60f813e3c 100644 --- a/auth/build.gradle.kts +++ b/auth/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/challenge/build.gradle.kts b/challenge/build.gradle.kts index 285e99611..1b64cd164 100644 --- a/challenge/build.gradle.kts +++ b/challenge/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Proton Technologies AG + * Copyright (c) 2023 Proton AG * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/contact/build.gradle.kts b/contact/build.gradle.kts index 02fa69cef..3649fb025 100644 --- a/contact/build.gradle.kts +++ b/contact/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/coreexample/build.gradle.kts b/coreexample/build.gradle.kts index 784b81c5e..6a2de6faf 100644 --- a/coreexample/build.gradle.kts +++ b/coreexample/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,6 +28,10 @@ plugins { kotlin("plugin.serialization") } +protonCoverage { + disabled.set(true) +} + protonDagger { workManagerHiltIntegration = true } diff --git a/country/build.gradle.kts b/country/build.gradle.kts index 29de6d462..c34c9d835 100644 --- a/country/build.gradle.kts +++ b/country/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/crypto-validator/build.gradle.kts b/crypto-validator/build.gradle.kts index e24e4158d..502af2ede 100644 --- a/crypto-validator/build.gradle.kts +++ b/crypto-validator/build.gradle.kts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. + * + * ProtonCore 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. + * + * ProtonCore 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 ProtonCore. If not, see . + */ + import studio.forface.easygradle.dsl.* /* @@ -22,6 +40,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/crypto/build.gradle.kts b/crypto/build.gradle.kts index 0f21627ec..73d607bd6 100644 --- a/crypto/build.gradle.kts +++ b/crypto/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/event-manager/build.gradle.kts b/event-manager/build.gradle.kts index 111d3c6d5..7b1cf0641 100644 --- a/event-manager/build.gradle.kts +++ b/event-manager/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/feature-flag/build.gradle.kts b/feature-flag/build.gradle.kts index 44257da5b..3eb204f67 100644 --- a/feature-flag/build.gradle.kts +++ b/feature-flag/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/human-verification/build.gradle.kts b/human-verification/build.gradle.kts index 060e79b49..28fa78e56 100644 --- a/human-verification/build.gradle.kts +++ b/human-verification/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/key-transparency/build.gradle.kts b/key-transparency/build.gradle.kts index 5a239c449..9da2033f1 100644 --- a/key-transparency/build.gradle.kts +++ b/key-transparency/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/key/build.gradle.kts b/key/build.gradle.kts index 1b30865e5..5e55dd48d 100644 --- a/key/build.gradle.kts +++ b/key/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/label/build.gradle.kts b/label/build.gradle.kts index 8b2627f06..c966f396b 100644 --- a/label/build.gradle.kts +++ b/label/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/mail-message/build.gradle.kts b/mail-message/build.gradle.kts index 9440a8a39..39b2a29ef 100644 --- a/mail-message/build.gradle.kts +++ b/mail-message/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/mail-settings/build.gradle.kts b/mail-settings/build.gradle.kts index bab072eea..6af7fa17a 100644 --- a/mail-settings/build.gradle.kts +++ b/mail-settings/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/metrics/build.gradle.kts b/metrics/build.gradle.kts index 74a0d52c7..69a3e7cb1 100644 --- a/metrics/build.gradle.kts +++ b/metrics/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/network/build.gradle.kts b/network/build.gradle.kts index add59d78d..ae201d1b4 100644 --- a/network/build.gradle.kts +++ b/network/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/observability/build.gradle.kts b/observability/build.gradle.kts index c4e55bce7..ab07bc3aa 100644 --- a/observability/build.gradle.kts +++ b/observability/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/payment-iap/build.gradle.kts b/payment-iap/build.gradle.kts index 24b5f5e21..bce59dcf3 100644 --- a/payment-iap/build.gradle.kts +++ b/payment-iap/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/payment/build.gradle.kts b/payment/build.gradle.kts index 21aba3805..eabe2ff35 100644 --- a/payment/build.gradle.kts +++ b/payment/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/plan/build.gradle.kts b/plan/build.gradle.kts index 76d2bf9c0..275306268 100644 --- a/plan/build.gradle.kts +++ b/plan/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/proguard-rules/build.gradle.kts b/proguard-rules/build.gradle.kts index 2011bedc7..7380be3f9 100644 --- a/proguard-rules/build.gradle.kts +++ b/proguard-rules/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022 Proton Technologies AG + * Copyright (c) 2023 Proton AG * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify @@ -20,4 +20,5 @@ plugins { protonKotlinLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true diff --git a/push/build.gradle.kts b/push/build.gradle.kts index 601eb605e..6b1c58f79 100644 --- a/push/build.gradle.kts +++ b/push/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/report/build.gradle.kts b/report/build.gradle.kts index 7bdb620a2..c4bbe3fab 100644 --- a/report/build.gradle.kts +++ b/report/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/test/android/build.gradle.kts b/test/android/build.gradle.kts index 46fe874f2..2caa75e1f 100644 --- a/test/android/build.gradle.kts +++ b/test/android/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,6 +27,7 @@ proton { apiModeDisabled() } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/test/android/instrumented/build.gradle.kts b/test/android/instrumented/build.gradle.kts index 13d06b218..72de726d8 100644 --- a/test/android/instrumented/build.gradle.kts +++ b/test/android/instrumented/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,6 +30,8 @@ proton { apiModeDisabled() } +protonCoverage.disabled.set(true) + dependencies { api( project(Module.humanVerificationPresentation), diff --git a/test/kotlin/build.gradle.kts b/test/kotlin/build.gradle.kts index 78058669b..658217ce4 100644 --- a/test/kotlin/build.gradle.kts +++ b/test/kotlin/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2020 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,6 +27,7 @@ proton { apiModeDisabled() } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/test/quark/build.gradle.kts b/test/quark/build.gradle.kts index fa000865c..6f5496caf 100644 --- a/test/quark/build.gradle.kts +++ b/test/quark/build.gradle.kts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. + * + * ProtonCore 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. + * + * ProtonCore 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 ProtonCore. If not, see . + */ + import org.gradle.kotlin.dsl.implementation import studio.forface.easygradle.dsl.* import studio.forface.easygradle.dsl.android.* @@ -25,6 +43,7 @@ plugins { kotlin("plugin.serialization") } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/user-settings/build.gradle.kts b/user-settings/build.gradle.kts index f5afa7caf..8b93a29a0 100644 --- a/user-settings/build.gradle.kts +++ b/user-settings/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies { diff --git a/user/build.gradle.kts b/user/build.gradle.kts index d20cbc0f8..1f2bbc67c 100644 --- a/user/build.gradle.kts +++ b/user/build.gradle.kts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2021 Proton Technologies AG - * This file is part of Proton Technologies AG and ProtonCore. + * Copyright (c) 2023 Proton AG + * This file is part of Proton AG and ProtonCore. * * ProtonCore is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ plugins { protonAndroidLibrary } +protonCoverage.disabled.set(true) publishOption.shouldBePublishedAsLib = true dependencies {