mirror of
https://github.com/corda/corda.git
synced 2024-12-19 21:17:58 +00:00
Added back gradle config needed by quasar and capsule.
This commit is contained in:
parent
a4a48d06f3
commit
3ab56fa223
@ -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) {
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user