1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-08-10 06:40:37 +02:00

Use vim-engine kotlin settings

This commit is contained in:
Alex Plate 2022-07-01 12:18:53 +03:00
parent 4ac2aa2339
commit fdb09a8f1f
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F
3 changed files with 47 additions and 42 deletions

View File

@ -140,24 +140,20 @@ tasks {
options.encoding = "UTF-8"
}
}
allprojects {
tasks {
compileKotlin {
kotlinOptions {
jvmTarget = javaVersion
apiVersion = "1.5"
freeCompilerArgs = listOf("-Xjvm-default=all-compatibility")
compileKotlin {
kotlinOptions {
jvmTarget = javaVersion
apiVersion = "1.5"
freeCompilerArgs = listOf("-Xjvm-default=all-compatibility")
// allWarningsAsErrors = true
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = javaVersion
apiVersion = "1.5"
}
compileTestKotlin {
kotlinOptions {
jvmTarget = javaVersion
apiVersion = "1.5"
// allWarningsAsErrors = true
}
}
}
}

View File

@ -1,28 +0,0 @@
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm'
}
group 'org.jetbrains.ideavim'
version 'SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation 'org.apache.commons:commons-lang3:3.12.0'
// https://mvnrepository.com/artifact/com.google.guava/guava
implementation("com.google.guava:guava:11.0.2")
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.6.21'
compileOnly 'org.jetbrains:annotations:23.0.0'
}
test {
useJUnitPlatform()
}

View File

@ -0,0 +1,37 @@
plugins {
java
kotlin("jvm")
}
//group 'org.jetbrains.ideavim'
//version 'SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation("org.apache.commons:commons-lang3:3.12.0")
// https://mvnrepository.com/artifact/com.google.guava/guava
implementation("com.google.guava:guava:11.0.2")
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.6.21")
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")
}
}
}