Attempt to disable artifactoryPlugin on test subprojects
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user