-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
42 lines (36 loc) · 1021 Bytes
/
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
33
34
35
36
37
38
39
40
41
42
import com.eygraber.conventions.tasks.deleteRootBuildDirWhenCleaning
import org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
buildscript {
dependencies {
classpath(libs.buildscript.android)
classpath(libs.buildscript.androidCacheFix)
classpath(libs.buildscript.compose.compiler)
classpath(libs.buildscript.detekt)
classpath(libs.buildscript.dokka)
classpath(libs.buildscript.kotlin)
classpath(libs.buildscript.publish)
}
}
plugins {
base
alias(libs.plugins.conventions)
}
project.deleteRootBuildDirWhenCleaning()
gradleConventionsDefaults {
android {
sdkVersions(
compileSdk = libs.versions.android.sdk.compile,
targetSdk = libs.versions.android.sdk.target,
minSdk = libs.versions.android.sdk.min
)
}
detekt {
plugins(libs.detektEygraber.formatting)
plugins(libs.detektEygraber.style)
}
kotlin {
jvmTargetVersion = JvmTarget.JVM_11
explicitApiMode = ExplicitApiMode.Strict
}
}