Files
kotlin-fork/test-instrumenter/build.gradle.kts
T
2018-01-30 17:06:11 +03:00

33 lines
623 B
Kotlin

import org.gradle.jvm.tasks.Jar
plugins { java }
apply { plugin("kotlin") }
configureIntellijPlugin {
setExtraDependencies("intellij-core")
}
dependencies {
compile(project(":kotlin-stdlib"))
}
afterEvaluate {
dependencies {
compileOnly(intellijCoreJar())
compileOnly(intellij { include("asm-all.jar") })
}
}
sourceSets {
"main" { projectDefault() }
}
tasks {
"jar" {
this as Jar
manifest {
attributes["Manifest-Version"] = 1.0
attributes["PreMain-Class"] = "org.jetbrains.kotlin.testFramework.TestInstrumentationAgent"
}
}
}