corda/samples/business-network-demo/build.gradle
2018-03-06 17:29:21 +00:00

60 lines
1.5 KiB
Groovy

/*
* R3 Proprietary and Confidential
*
* Copyright (c) 2018 R3 Limited. All rights reserved.
*
* The intellectual and technical concepts contained herein are proprietary to R3 and its suppliers and are protected by trade secret law.
*
* Distribution of this file or any portion thereof via any medium without the express permission of R3 is strictly prohibited.
*/
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'idea'
apply plugin: 'net.corda.plugins.quasar-utils'
apply plugin: 'net.corda.plugins.publish-utils'
apply plugin: 'net.corda.plugins.cordapp'
apply plugin: 'net.corda.plugins.cordformation'
apply plugin: 'maven-publish'
sourceSets {
integrationTest {
kotlin {
compileClasspath += main.output + test.output
runtimeClasspath += main.output + test.output
}
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
// For CSV parsing.
compile "com.opencsv:opencsv:4.0"
// Corda integration dependencies
cordaCompile project(':core')
cordaCompile project(':client:rpc')
// Cordapp dependencies
// Specify your cordapp's dependencies below, including dependent cordapps
// Test dependencies
testCompile "junit:junit:$junit_version"
}
idea {
module {
downloadJavadoc = true // defaults to false
downloadSources = true
}
}
jar {
manifest {
attributes(
'Automatic-Module-Name': 'net.corda.samples.demos.businessnetwork'
)
}
}