forked from thunderbird/thunderbird-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
32 lines (24 loc) · 1.08 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
plugins {
`kotlin-dsl`
}
dependencies {
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
implementation(plugin(libs.plugins.kotlin.jvm))
implementation(plugin(libs.plugins.kotlin.android))
implementation(plugin(libs.plugins.kotlin.parcelize))
implementation(plugin(libs.plugins.kotlin.serialization))
implementation(plugin(libs.plugins.android.application))
implementation(plugin(libs.plugins.android.library))
implementation(plugin(libs.plugins.compose.compiler))
implementation(plugin(libs.plugins.spotless))
implementation(plugin(libs.plugins.detekt))
implementation(plugin(libs.plugins.dependency.check))
implementation(libs.diff.utils)
compileOnly(libs.android.tools.common)
// This defines the used Kotlin version for all Plugin dependencies
// and ensures that transitive dependencies are aligned on one version.
implementation(platform(libs.kotlin.gradle.bom))
}
fun plugin(provider: Provider<PluginDependency>) = with(provider.get()) {
"$pluginId:$pluginId.gradle.plugin:$version"
}