diff --git a/buildSrc/src/main/groovy/QuasarPlugin.groovy b/buildSrc/src/main/groovy/QuasarPlugin.groovy index 3d03599b4b..1bc768acfa 100644 --- a/buildSrc/src/main/groovy/QuasarPlugin.groovy +++ b/buildSrc/src/main/groovy/QuasarPlugin.groovy @@ -14,9 +14,10 @@ class QuasarPlugin implements Plugin { } 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}"