forked from pinterest/ktlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
36 lines (32 loc) · 1.04 KB
/
settings.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
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
plugins {
def kotlinVersion = settings.hasProperty("kotlinDev") ? "1.5.30-RC" : "1.5.20"
id 'org.jetbrains.kotlin.jvm' version kotlinVersion
id 'com.github.breadmoirai.github-release' version '2.2.12'
id 'com.github.johnrengelman.shadow' version '6.1.0'
id 'org.gradle.crypto.checksum' version '1.1.0'
}
}
// Pass '-PkotlinDev' to command line to enable kotlin-in-development version
gradle.ext.isKotlinDev = settings.hasProperty("kotlinDev")
if (gradle.ext.isKotlinDev) {
logger.warn("Enabling kotlin dev version")
}
rootProject.name = 'ktlint'
include ':ktlint'
include ':ktlint-core'
include ':ktlint-reporter-baseline'
include ':ktlint-reporter-checkstyle'
include ':ktlint-reporter-json'
include ':ktlint-reporter-sarif'
include ':ktlint-reporter-html'
include ':ktlint-reporter-plain'
include ':ktlint-ruleset-experimental'
include ':ktlint-ruleset-standard'
include ':ktlint-ruleset-template'
include ':ktlint-ruleset-test'
include ':ktlint-test'