-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathbuild.gradle.kts
41 lines (34 loc) · 1.13 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
33
34
35
36
37
38
39
40
41
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
val kotlinVersion = "2.0.0"
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven("https://plugins.gradle.org/m2/")
}
dependencies {
classpath("io.nlopez.compose.rules:ktlint:0.4.17")
classpath("com.android.tools.build:gradle:8.6.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
classpath("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.6")
classpath("org.jlleitschuh.gradle:ktlint-gradle:12.1.1")
classpath("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.6")
classpath("org.jmailen.gradle:kotlinter-gradle:4.4.1")
}
}
apply(plugin = "io.gitlab.arturbosch.detekt")
apply(plugin = "org.jmailen.kotlinter")
plugins {
id("com.google.devtools.ksp") version "2.0.0-1.0.22" apply false
}
allprojects {
repositories {
google()
mavenCentral()
maven("https://jitpack.io")
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}