Attempt to disable artifactory plugin for test subprojects again

This commit is contained in:
Roy Clarkson
2018-12-14 13:59:06 -05:00
parent f4b3aecff4
commit fe91033137
2 changed files with 10 additions and 10 deletions

View File

@@ -16,7 +16,11 @@
description = "Spring Cloud App Broker Acceptance Tests"
apply plugin: "com.jfrog.artifactory"
tasks.whenTaskAdded {task ->
if(task.name.contains("artifactoryPublish")) {
task.enabled = false
}
}
// don't publish the jar for the acceptance tests project
configurations.archives.artifacts.clear()
@@ -52,10 +56,6 @@ 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,7 +27,11 @@ buildscript {
description = "Spring Cloud App Broker Integration Tests"
apply plugin: "com.jfrog.artifactory"
tasks.whenTaskAdded {task ->
if(task.name.contains("artifactoryPublish")) {
task.enabled = false
}
}
// don't publish the jar for this module
configurations.archives.artifacts.clear()
@@ -60,7 +64,3 @@ test {
// force a new fork for every test to eliminate issues with wiremock state
forkEvery = 1
}
artifactoryPublish {
enabled = false
}