Files
detekt/buildSrc/build.gradle.kts
Artur Bosch ee49144114 Support Kotlin 1.4 (#2981)
* Update to Gradle 6.6

* Update to Kotlin 1.4

* Upgrade to prerelease of KtLint 0.38

* Fix testcase by unwrapping the original descriptor

* Increase max heap for dokka on Java 11

* Update minimal supported Gradle version to 5.3

* Do not run warningsAsErrors on CI due to Gradle not supporting Kotlin 1.4

* Remove new line testing as it fails on windows

* Require Gradle 5.4 to reflect Kotlin's required version from their website
2020-08-20 20:00:38 +02:00

38 lines
1.3 KiB
Kotlin

plugins {
`kotlin-dsl`
}
kotlinDslPluginOptions {
experimentalWarning.set(false)
}
repositories {
gradlePluginPortal()
jcenter()
mavenLocal() // used to publish and test local gradle plugin changes
}
object Plugins {
const val KOTLIN = "1.4.0"
const val DETEKT = "1.11.2"
const val GITHUB_RELEASE = "2.2.12"
const val ARTIFACTORY = "4.15.1"
const val SHADOW = "5.2.0"
const val VERSIONS = "0.28.0"
const val SONAR = "2.8"
const val DOKKA = "0.10.1"
const val SEMVER4J = "3.1.0"
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:${Plugins.KOTLIN}")
implementation("io.gitlab.arturbosch.detekt:detekt-gradle-plugin:${Plugins.DETEKT}")
implementation("com.github.breadmoirai:github-release:${Plugins.GITHUB_RELEASE}")
implementation("org.jfrog.buildinfo:build-info-extractor-gradle:${Plugins.ARTIFACTORY}")
implementation("com.github.jengelman.gradle.plugins:shadow:${Plugins.SHADOW}")
implementation("com.github.ben-manes:gradle-versions-plugin:${Plugins.VERSIONS}")
implementation("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:${Plugins.SONAR}")
implementation("org.jetbrains.dokka:dokka-gradle-plugin:${Plugins.DOKKA}")
implementation("com.vdurmont:semver4j:${Plugins.SEMVER4J}")
}