Attempt to disable artifactoryPlugin on test subprojects

This commit is contained in:
Roy Clarkson
2018-12-14 13:53:38 -05:00
parent 5741d5f0ba
commit f4b3aecff4
2 changed files with 13 additions and 1 deletions

View File

@@ -16,6 +16,8 @@
description = "Spring Cloud App Broker Acceptance Tests"
apply plugin: "com.jfrog.artifactory"
// don't publish the jar for the acceptance tests project
configurations.archives.artifacts.clear()
@@ -50,6 +52,10 @@ test {
systemProperties << System.properties.findAll { it.key.startsWith("spring.") }
}
artifactoryPublish {
enabled = false
}
// Disable classfile warnings because of cloudfoundry-client warnings
[compileJava, compileTestJava]*.options*.compilerArgs = [
"-Xlint:serial",

View File

@@ -27,6 +27,8 @@ buildscript {
description = "Spring Cloud App Broker Integration Tests"
apply plugin: "com.jfrog.artifactory"
// don't publish the jar for this module
configurations.archives.artifacts.clear()
@@ -57,4 +59,8 @@ dependencies {
test {
// force a new fork for every test to eliminate issues with wiremock state
forkEvery = 1
}
}
artifactoryPublish {
enabled = false
}