Files
kotlin-fork/libraries/scripting/dependencies-maven/build.gradle.kts
T
Alexander.Likhachev 357d12fc8e [Build] Move JUnit dependencies into the version catalog
The `kotlin-test` dependencies are left untouched as changing them affects publications, thus these versions are independent from the used inside our build
#KTI-1349 In Progress
2023-09-06 22:47:33 +00:00

43 lines
1.3 KiB
Kotlin

plugins {
kotlin("jvm")
id("jps-compatible")
}
project.updateJvmTarget("1.8")
dependencies {
implementation(kotlinStdlib())
api(project(":kotlin-scripting-dependencies"))
implementation("org.apache.maven:maven-core:3.8.7")
implementation("org.apache.maven.wagon:wagon-http:3.5.3")
implementation("org.apache.maven.resolver:maven-resolver-connector-basic:1.9.2")
implementation("org.apache.maven.resolver:maven-resolver-transport-file:1.9.2")
implementation("org.apache.maven.resolver:maven-resolver-transport-wagon:1.9.2")
implementation("org.apache.maven.resolver:maven-resolver-impl:1.9.2")
implementation("commons-io:commons-io:2.11.0")
testImplementation(projectTests(":kotlin-scripting-dependencies"))
testImplementation(libs.junit4)
testRuntimeOnly("org.slf4j:slf4j-nop:1.7.36")
testImplementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false }
testImplementation(commonDependency("org.jetbrains.kotlinx", "kotlinx-coroutines-core"))
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
kotlinOptions.freeCompilerArgs += listOf(
"-Xallow-kotlin-package"
)
}
publish()
runtimeJar()
sourcesJar()
javadocJar()