forked from pinterest/ktlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
39 lines (35 loc) · 1.18 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
37
38
39
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
if (settings.hasProperty('kotlinDev')) {
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
}
}
plugins {
def kotlinVersion = settings.hasProperty("kotlinDev") ? "1.4.30-M1" : "1.4.10"
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-html'
include ':ktlint-reporter-plain'
include ':ktlint-ruleset-experimental'
include ':ktlint-ruleset-standard'
include ':ktlint-ruleset-template'
include ':ktlint-ruleset-test'
include ':ktlint-test'