-
Notifications
You must be signed in to change notification settings - Fork 23
/
build.gradle.kts
30 lines (28 loc) · 879 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
maven("https://plugins.gradle.org/m2/")
}
dependencies {
classpath(Deps.Gradle.androidGradlePlugin)
classpath(Deps.Gradle.kotlinGradlePlugin)
classpath(Deps.Gradle.ktlintGradlePlugin)
classpath(Deps.Gradle.vanniktechGradlePlugin)
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
allprojects {
pluginManager.withPlugin(Plugins.vanniktechPublish) {
extensions.getByType(com.vanniktech.maven.publish.MavenPublishPluginExtension::class.java)
.apply {
sonatypeHost = com.vanniktech.maven.publish.SonatypeHost.S01
}
}
}
subprojects {
apply(plugin = Plugins.ktlint)
}