Files
Niccolò Forlini d770f809c1 Update Kotlin deps
- Kotlin to 2.2.20
- KSP tot 2.2.20-2.0.3
- kotlinx.datatime to 0.7.1
- kotlinx.serialization to 1.9.0

NOJIRA
2025-10-13 11:24:35 +00:00

63 lines
1.7 KiB
Kotlin

import org.jetbrains.kotlin.gradle.dsl.JvmTarget
/*
* Copyright (c) 2022 Proton Technologies AG
* This file is part of Proton Technologies AG and Proton Mail.
*
* Proton Mail 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.
*
* Proton Mail 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 Proton Mail. If not, see <https://www.gnu.org/licenses/>.
*/
plugins {
id("com.android.library")
kotlin("android")
id("org.jetbrains.kotlin.plugin.compose")
id("app-config-plugin")
}
android {
namespace = "ch.protonmail.android.design.compose"
compileSdk = AppConfiguration.compileSdk.get()
defaultConfig {
minSdk = AppConfiguration.minSdk.get()
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlin {
compilerOptions {
jvmTarget = JvmTarget.fromTarget("17")
}
}
buildFeatures {
compose = true
}
}
dependencies {
implementation(libs.bundles.compose)
implementation(libs.bundles.module.presentation)
implementation(libs.lottie.compose)
debugImplementation(libs.bundles.app.debug)
testImplementation(libs.bundles.test)
compileOnly(libs.paparazzi)
implementation(project(":design-system"))
}