17421ed14d
Pass project to fetch extra parameters for asm-all work
26 lines
560 B
Kotlin
26 lines
560 B
Kotlin
import org.gradle.jvm.tasks.Jar
|
|
|
|
plugins {
|
|
java
|
|
kotlin("jvm")
|
|
}
|
|
|
|
dependencies {
|
|
compile(project(":kotlin-stdlib"))
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
compileOnly(intellijDep()) { includeJars("asm-all", rootProject = rootProject) }
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
}
|
|
|
|
tasks {
|
|
"jar" {
|
|
this as Jar
|
|
manifest {
|
|
attributes["Manifest-Version"] = 1.0
|
|
attributes["PreMain-Class"] = "org.jetbrains.kotlin.testFramework.TestInstrumentationAgent"
|
|
}
|
|
}
|
|
} |