mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
build: compile config depends on quasar, add comment on local .jar dep
This commit is contained in:
parent
6f70affc6f
commit
8b2211ee0f
@ -14,9 +14,10 @@ class QuasarPlugin implements Plugin<Project> {
|
||||
}
|
||||
|
||||
project.configurations.create("quasar")
|
||||
// To add a local .jar dependency:
|
||||
// project.dependencies.add("quasar", project.files("${project.rootProject.projectDir}/lib/quasar.jar"))
|
||||
project.dependencies.add("quasar", "co.paralleluniverse:quasar-core:${project.rootProject.ext.quasar_version}:jdk8@jar")
|
||||
project.dependencies.add("compile", "co.paralleluniverse:quasar-core:${project.rootProject.ext.quasar_version}:jdk8")
|
||||
|
||||
project.dependencies.add("compile", project.configurations.getByName("quasar"))
|
||||
|
||||
project.tasks.withType(Test) {
|
||||
jvmArgs "-javaagent:${project.configurations.quasar.singleFile}"
|
||||
|
Loading…
Reference in New Issue
Block a user