protoncore_android/presentation/build.gradle.kts

65 lines
1.7 KiB
Plaintext

/*
* Copyright (c) 2021 Proton Technologies AG
* This file is part of Proton Technologies 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.*
plugins {
id("com.android.library")
kotlin("android")
kotlin("plugin.serialization")
id("kotlin-parcelize")
}
libVersion = Version(1, 18, 3)
android(useViewBinding = true)
dependencies {
implementation(
project(Module.kotlinUtil),
project(Module.domain),
// Kotlin
`kotlin-jdk7`,
`kotlin-reflect`,
`coroutines-android`,
// Android
`android-ktx`,
`activity`,
`appcompat`,
`constraint-layout`,
`fragment`,
`lifecycle-extensions`,
`material`
)
// Android
compileOnly(`android-annotation`)
// Test
testImplementation(project(Module.androidTest))
androidTestImplementation(project(Module.androidInstrumentedTest))
// Lint - off temporary
// lintChecks(project(Module.lint))
}