build: Disable coverage in CoreExample and the top-level aggregating modules.

This commit is contained in:
Mateusz Armatys
2023-05-04 11:07:23 +00:00
parent 5ed9f31222
commit 02a29d3160
32 changed files with 146 additions and 56 deletions
+19
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,7 @@ plugins {
protonAndroidLibrary
}
protonCoverage.disabled.set(true)
publishOption.shouldBePublishedAsLib = true
dependencies {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+2 -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,7 @@ plugins {
protonAndroidLibrary
}
protonCoverage.disabled.set(true)
publishOption.shouldBePublishedAsLib = true
dependencies {
+3 -2
View File
@@ -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 {
+6 -2
View File
@@ -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
}
+3 -2
View File
@@ -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 {
+19
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,7 @@ plugins {
protonAndroidLibrary
}
protonCoverage.disabled.set(true)
publishOption.shouldBePublishedAsLib = true
dependencies {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+2 -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
@@ -20,4 +20,5 @@ plugins {
protonKotlinLibrary
}
protonCoverage.disabled.set(true)
publishOption.shouldBePublishedAsLib = true
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {
+4 -2
View File
@@ -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),
+3 -2
View File
@@ -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 {
+19
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 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 {
+3 -2
View File
@@ -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 {
+3 -2
View File
@@ -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 {