1
0
Fork 0
IntelliJ-IdeaVim/vim-engine/build.gradle.kts

49 lines
1000 B
Kotlin

/*
* Copyright 2003-2022 The IdeaVim authors
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE.txt file or at
* https://opensource.org/licenses/MIT.
*/
plugins {
java
kotlin("jvm")
id("org.jlleitschuh.gradle.ktlint")
}
// group 'org.jetbrains.ideavim'
// version 'SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.1")
compileOnly("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.20")
compileOnly("org.jetbrains:annotations:23.0.0")
}
tasks {
val test by getting(Test::class) {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions {
apiVersion = "1.5"
freeCompilerArgs = listOf("-Xjvm-default=all-compatibility")
}
}
}
// --- Linting
ktlint {
disabledRules.add("no-wildcard-imports")
version.set("0.43.0")
}