Add Maven publication of test-utils

Add Maven publication of test-utils, so that CorDapp tests can use test-utils.
This commit is contained in:
Ross Nicoll 2016-10-05 17:49:46 +01:00
parent 60d555d4ed
commit 4117873b37

View File

@ -1,5 +1,6 @@
apply plugin: 'kotlin'
apply plugin: QuasarPlugin
apply plugin: DefaultPublishTasks
repositories {
mavenLocal()
@ -46,3 +47,15 @@ dependencies {
}
quasarScan.dependsOn('classes', ':core:classes', ':contracts:classes')
publishing {
publications {
testutils(MavenPublication) {
from components.java
artifactId 'test-utils'
artifact sourceJar
artifact javadocJar
}
}
}