Files
kotlin-fork/plugins/imports-dumper/build.gradle.kts
T
Alexander.Likhachev 6f96be0b76 [Build] Get rid of the testApiJUnit5 method
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00

40 lines
1020 B
Kotlin

description = "Extension for saving imports of .kt-files in JSON"
plugins {
kotlin("jvm")
id("jps-compatible")
}
val kotlinxSerializationVersion = "0.14.0"
dependencies {
api(project(":compiler:frontend.java"))
api(project(":compiler:plugin-api"))
compileOnly("org.jetbrains.kotlinx", "kotlinx-serialization-runtime", kotlinxSerializationVersion) { isTransitive = false }
compileOnly(intellijCore())
testApi(projectTests(":compiler:tests-common"))
testRuntimeOnly(intellijCore())
testRuntimeOnly("org.jetbrains.kotlinx", "kotlinx-serialization-runtime", kotlinxSerializationVersion)
testApi(platform(libs.junit.bom))
testImplementation(libs.junit4)
embedded("org.jetbrains.kotlinx", "kotlinx-serialization-runtime", kotlinxSerializationVersion) { isTransitive = false }
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
projectTest {
workingDir = rootDir
dependsOn(":dist")
}
optInToExperimentalCompilerApi()
runtimeJar()