Added back gradle config needed by quasar and capsule.

This commit is contained in:
Clinton Alexander 2016-11-04 17:53:37 +00:00
parent a4a48d06f3
commit 3ab56fa223
2 changed files with 8 additions and 2 deletions

View File

@ -54,10 +54,14 @@ allprojects {
repositories {
mavenCentral()
jcenter()
maven {
url 'https://dl.bintray.com/kotlin/exposed'
}
}
// Required for building out the fat JAR.
dependencies {
// Required for Quasar. TODO: Remove this dependency.
compile project(':node')
compile "com.google.guava:guava:19.0"
}
@ -146,6 +150,8 @@ task installTemplateNodes(dependsOn: 'buildCordaJAR') << {
// TODO: Verify this works for gradle plugins.
task(install, dependsOn: 'publishToMavenLocal')
quasarScan.dependsOn('classes', ':node:classes', ':core:classes', ':finance:classes')
publishing {
publications {
corda(MavenPublication) {

View File

@ -45,7 +45,7 @@ class QuasarPlugin implements Plugin<Project> {
classpath: "${project.sourceSets.main.output.classesDir}:${project.sourceSets.main.output.resourcesDir}:${project.configurations.runtime.asPath}")
project.delete "$project.sourceSets.main.output.resourcesDir/META-INF/suspendables", "$project.sourceSets.main.output.resourcesDir/META-INF/suspendable-supers"
if(Files.isRegularFile(project.sourceSets.main.output.classesDir)) {
if(project.sourceSets.main.output.classesDir.exists()) {
ant.scanSuspendables(
auto: false,
suspendablesFile: "$project.sourceSets.main.output.resourcesDir/META-INF/suspendables",