1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2024-09-16 16:42:48 +02:00
IntelliJ-IdeaVim/vim-engine/build.gradle.kts
dependabot[bot] 38e1a62f19 Bump org.jetbrains.kotlinx:kotlinx-serialization-json-jvm
Bumps [org.jetbrains.kotlinx:kotlinx-serialization-json-jvm](https://github.com/Kotlin/kotlinx.serialization) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Kotlin/kotlinx.serialization/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json-jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 18:36:38 +03:00

97 lines
2.2 KiB
Plaintext

/*
* Copyright 2003-2023 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")
id("com.google.devtools.ksp") version "1.8.21-1.0.11"
`maven-publish`
}
val kotlinVersion: String by project
// group 'org.jetbrains.ideavim'
// version 'SNAPSHOT'
repositories {
mavenCentral()
}
ksp {
arg("generated_directory", "$projectDir/src/main/resources")
arg("vimscript_functions_file", "engine_vimscript_functions.json")
arg("ex_commands_file", "engine_ex_commands.json")
}
afterEvaluate {
tasks.named("kspTestKotlin").configure { enabled = false }
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.0")
// https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-test
testImplementation("org.jetbrains.kotlin:kotlin-test:$kotlinVersion")
compileOnly("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
compileOnly("org.jetbrains:annotations:24.0.1")
ksp(project(":annotation-processors"))
compileOnly(project(":annotation-processors"))
compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.6.0")
}
tasks {
val test by getting(Test::class) {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions {
apiVersion = "1.5"
freeCompilerArgs = listOf("-Xjvm-default=all-compatibility")
}
}
}
// --- Linting
//ktlint {
// version.set("0.48.2")
//}
kotlin {
explicitApi()
}
val spaceUsername: String by project
val spacePassword: String by project
val engineVersion: String by project
val uploadUrl: String by project
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "com.maddyhome.idea.vim"
artifactId = "vim-engine"
version = engineVersion
from(components["java"])
}
}
repositories {
maven {
url = uri(uploadUrl)
credentials {
username = spaceUsername
password = spacePassword
}
}
}
}