-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle.kts
36 lines (31 loc) · 930 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
import kotlinx.validation.ApiValidationExtension
plugins {
id("org.jetbrains.kotlinx.binary-compatibility-validator") version Versions.KOTLIN_BINARY_COMPATIBILITY
}
buildscript {
repositories {
google()
mavenCentral()
maven("https://plugins.gradle.org/m2/")
}
dependencies {
classpath("com.android.tools.build:gradle:${Versions.GRADLE_PLUGIN}")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.KOTLIN}")
classpath("org.jlleitschuh.gradle:ktlint-gradle:${Versions.KTLINT_PLUGIN}")
classpath("com.vanniktech:gradle-maven-publish-plugin:${Versions.MAVEN_PUBLISH_PLUGIN}")
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
extensions.configure<ApiValidationExtension>() {
ignoredProjects = mutableSetOf("test")
}
tasks {
val clean by registering(Delete::class) {
delete(buildDir)
}
}