Skip to content

Commit

Permalink
explicitly set repository credentials to null in tests (#85)
Browse files Browse the repository at this point in the history
* explicitly set repository credentials to null in tests

* Revert "forward Gradle test output (#84)"

This reverts commit 6e3785f.
  • Loading branch information
gabrielittner authored Jan 21, 2020
1 parent fcbfa39 commit fe49d77
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions gradle/integration-test.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ task integrationTest(type: Test) {
testClassesDirs = sourceSets.integrationTest.output.classesDirs
classpath = sourceSets.integrationTest.runtimeClasspath
mustRunAfter test

testLogging {
showStandardStreams = true
}
}

check.dependsOn integrationTest
4 changes: 4 additions & 0 deletions src/integrationTest/fixtures/common/maven-publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ mavenPublish {
targets {
installArchives {
releaseRepositoryUrl = "file://${project.property("test.releaseRepository")}"
repositoryUsername = null
repositoryPassword = null
signing = true
}
uploadArchives {
releaseRepositoryUrl = "file://${project.property("test.releaseRepository")}"
repositoryUsername = null
repositoryPassword = null
signing = true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,5 @@ class MavenPublishPluginIntegrationTest(
.withProjectDir(testProjectDir.root)
.withArguments(*commands)
.withPluginClasspath()
.forwardOutput()
.build()
}

0 comments on commit fe49d77

Please sign in to comment.