-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
40 lines (37 loc) · 1.14 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
mavenLocal()
maven("https://plugins.gradle.org/m2/")
gradlePluginPortal()
}
dependencies {
classpath(libs.plugin.kotlin)
classpath(libs.plugin.kotlinSerialization)
classpath(libs.plugin.android)
classpath(libs.plugin.dexcount)
classpath(libs.plugin.ktlint)
classpath(libs.plugin.gradleVersionUpdates)
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
apply(plugin = "com.github.ben-manes.versions")
}
allprojects {
repositories {
jcenter()
google()
github(project, "https://maven.pkg.github.com/eadm/AndroidKit")
github(project, "https://maven.pkg.github.com/eadm/ktlint-rules")
maven("https://jitpack.io")
mavenLocal()
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}