-
Notifications
You must be signed in to change notification settings - Fork 104
/
Copy pathbuild.gradle.kts
40 lines (33 loc) · 1022 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
import org.gradle.internal.jvm.Jvm
buildscript {
repositories {
mavenCentral()
google()
maven { url = uri("https://plugins.gradle.org/m2/") }
}
dependencies {
classpath("com.android.tools.build:gradle:8.8.0")
classpath("com.github.dcendents:android-maven-gradle-plugin:2.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0")
classpath("org.jlleitschuh.gradle:ktlint-gradle:12.1.2")
}
}
plugins {
id("com.google.devtools.ksp") version "2.1.0-1.0.29" apply false
}
println("Gradle uses Java ${Jvm.current()}")
subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
// Optionally configure plugin
configure<org.jlleitschuh.gradle.ktlint.KtlintExtension> {
debug.set(false)
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url = uri("https://repo.eclipse.org/content/repositories/paho-releases/") }
maven { url = uri("https://jitpack.io") }
}
}