Skip to content

Commit

Permalink
Updated build system to match the latest cordformation specification.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clintonio committed Aug 2, 2017
1 parent 89331ab commit 0dcf07e
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ buildscript {
}
}

apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'net.corda.plugins.publish-utils'
apply plugin: 'net.corda.plugins.cordformation'
apply plugin: 'net.corda.plugins.quasar-utils'
apply plugin: 'maven-publish'

repositories {
mavenLocal()
jcenter()
Expand All @@ -32,6 +25,13 @@ repositories {
maven { url 'https://jitpack.io' }
}

apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'net.corda.plugins.publish-utils'
apply plugin: 'net.corda.plugins.cordformation'
apply plugin: 'net.corda.plugins.quasar-utils'
apply plugin: 'maven-publish'

sourceSets {
main {
resources {
Expand All @@ -49,22 +49,16 @@ dependencies {
testCompile "junit:junit:$junit_version"

// Corda integration dependencies
compile "net.corda:corda-core:$corda_release_version"
compile "net.corda:corda-finance:$corda_release_version"
compile "net.corda:corda-jackson:$corda_release_version"
compile "net.corda:corda-rpc:$corda_release_version"
compile "net.corda:corda-webserver-impl:$corda_release_version"
runtime "net.corda:corda:$corda_release_version"
runtime "net.corda:corda-webserver:$corda_release_version"
cordaCompile "net.corda:corda-core:$corda_release_version"
cordaCompile "net.corda:corda-finance:$corda_release_version"
cordaCompile "net.corda:corda-jackson:$corda_release_version"
cordaCompile "net.corda:corda-rpc:$corda_release_version"
cordaCompile "net.corda:corda-webserver-impl:$corda_release_version"
cordaRuntime "net.corda:corda:$corda_release_version"
cordaRuntime "net.corda:corda-webserver:$corda_release_version"

testCompile "net.corda:corda-test-utils:$corda_release_version"

// GraphStream: For visualisation (required by TemplateClientRPC app)
compile "org.graphstream:gs-core:1.3"
compile("org.graphstream:gs-ui:1.3") {
exclude group: "bouncycastle"
}

// CorDapp dependencies
// Specify your cordapp's dependencies below, including dependent cordapps
}
Expand Down

0 comments on commit 0dcf07e

Please sign in to comment.