corda/contracts/build.gradle

42 lines
757 B
Groovy

apply plugin: 'kotlin'
apply plugin: CanonicalizerPlugin
apply plugin: DefaultPublishTasks
repositories {
mavenLocal()
mavenCentral()
maven {
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
jcenter()
maven {
url 'https://dl.bintray.com/kotlin/exposed'
}
}
dependencies {
compile project(':core')
testCompile project(':test-utils')
testCompile 'junit:junit:4.12'
}
sourceSets {
test {
resources {
srcDir "../config/test"
}
}
}
publishing {
publications {
contracts(MavenPublication) {
from components.java
artifactId 'contracts'
artifact sourceJar
artifact javadocJar
}
}
}