Put IRS spring whatever back on classpath

This commit is contained in:
Andras Slemmer 2017-12-15 15:29:54 +00:00
parent 69bfc9b437
commit 58f76ee2da
2 changed files with 62 additions and 47 deletions

View File

@ -53,6 +53,8 @@ dependencies {
testCompile project(':node-driver')
testCompile "junit:junit:$junit_version"
testCompile "org.assertj:assertj-core:${assertj_version}"
integrationTestCompile project(path: ":samples:irs-demo:web", configuration: "demoArtifacts")
}
bootRepackage {

View File

@ -44,6 +44,10 @@ apply plugin: 'org.springframework.boot'
apply plugin: 'project-report'
apply plugin: 'application'
configurations {
demoArtifacts.extendsFrom testRuntime
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web') {
exclude module: "spring-boot-starter-logging"
@ -77,3 +81,12 @@ task deployWebapps(type: Copy, dependsOn: ['jar', 'bootRepackage']) {
}
into ext.webappDir
}
task demoJar(type: Jar) {
classifier "test"
from sourceSets.test.output
}
artifacts {
demoArtifacts demoJar
}