mirror of
https://github.com/corda/corda.git
synced 2024-12-21 05:53:23 +00:00
26 lines
878 B
Groovy
26 lines
878 B
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'idea'
|
|
|
|
description 'A javaagent to allow hooking into the instrumentation by Quasar'
|
|
|
|
dependencies {
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
compile "org.javassist:javassist:$javaassist_version"
|
|
}
|
|
|
|
jar {
|
|
archiveName = "${project.name}.jar"
|
|
manifest {
|
|
attributes(
|
|
'Premain-Class': 'net.corda.quasarhook.QuasarInstrumentationHookAgent',
|
|
'Can-Redefine-Classes': 'true',
|
|
'Can-Retransform-Classes': 'true',
|
|
'Can-Set-Native-Method-Prefix': 'true',
|
|
'Implementation-Title': "QuasarHook",
|
|
'Implementation-Version': rootProject.version
|
|
)
|
|
}
|
|
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
|
|
}
|