-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
38 lines (37 loc) · 1.08 KB
/
build.gradle
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
buildscript {
repositories {
mavenCentral()
maven { url 'https://maven.google.com/' }
}
}
plugins {
alias libs.plugins.android.application apply false
alias libs.plugins.jetbrains.kotlin.android apply false
alias libs.plugins.jetbrains.kotlin.multiplatform apply false
alias libs.plugins.jetbrains.kotlin.plugin.serialization apply false
alias libs.plugins.jetbrains.compose.compiler apply false
alias libs.plugins.jetbrains.dokka apply false
alias libs.plugins.jlleitschuh.ktlint apply false
alias libs.plugins.vanniktech.maven.publish apply false
}
allprojects {
repositories {
mavenCentral()
maven { url 'https://maven.google.com/' }
}
// use new Sonatype server for mavenCentral publishing
plugins.withId("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = "S01"
}
}
}
subprojects {
apply plugin: "org.jlleitschuh.gradle.ktlint"
ktlint {
version = "1.3.1"
android = true
enableExperimentalRules = false
verbose = true
}
}