build: Disable coverage for test modules.

This commit is contained in:
Mateusz Armatys
2023-05-09 12:10:17 +00:00
committed by Neil Marietta
parent 2df4bfb3c5
commit e730fe635a
4 changed files with 63 additions and 1 deletions
+20
View File
@@ -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 <https://www.gnu.org/licenses/>.
*/
import studio.forface.easygradle.dsl.*
import studio.forface.easygradle.dsl.android.*
@@ -23,6 +41,8 @@ plugins {
protonAndroidLibrary
}
protonCoverage.disabled.set(true)
publishOption.shouldBePublishedAsLib = true
android {
+20
View File
@@ -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 <https://www.gnu.org/licenses/>.
*/
import studio.forface.easygradle.dsl.*
/*
@@ -22,6 +40,8 @@ plugins {
protonAndroidLibrary
}
protonCoverage.disabled.set(true)
publishOption.shouldBePublishedAsLib = true
android {
+20
View File
@@ -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 <https://www.gnu.org/licenses/>.
*/
import studio.forface.easygradle.dsl.*
/*
@@ -22,6 +40,8 @@ plugins {
protonAndroidLibrary
}
protonCoverage.disabled.set(true)
publishOption.shouldBePublishedAsLib = true
android {
+3 -1
View File
@@ -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,8 @@ plugins {
protonAndroidLibrary
}
protonCoverage.disabled.set(true)
publishOption.shouldBePublishedAsLib = true
android {