protoncore_android/account-recovery/domain/build.gradle.kts

66 lines
1.7 KiB
Plaintext

/*
* 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.api
import studio.forface.easygradle.dsl.`coroutines-test`
import studio.forface.easygradle.dsl.`kotlin-test`
import studio.forface.easygradle.dsl.mockk
import studio.forface.easygradle.dsl.testImplementation
plugins {
protonKotlinLibrary
}
protonCoverage {
branchCoveragePercentage.set(78)
lineCoveragePercentage.set(100)
}
publishOption.shouldBePublishedAsLib = true
dependencies {
api(
project(Module.authDomain),
project(Module.cryptoCommon),
project(Module.domain),
project(Module.networkDomain),
project(Module.userDomain),
`javax-inject`
)
implementation(
project(Module.kotlinUtil)
)
testImplementation(
`coroutines-test`,
junit,
`kotlin-test`,
mockk
)
testImplementation(
project(Module.kotlinTest),
`coroutines-test`,
junit,
`kotlin-test`,
mockk,
turbine
)
}