Updated integration test
This test is likely to break when we change task ordering rules / dependencies.
For now it is easy to maintain it - we can just review the failure and update the 'expected' part of the assertion.
Let's see how easy it is to maintain in the long run.
@@ -53,7 +53,12 @@ class ShipkitJavaPluginIntegTest extends GradleSpecification {
expect:
def result = pass("performRelease", "-m")
//git push and bintray upload tasks should run as late as possible
- result.tasks.join("\n") == """:fetchAllContributors=SKIPPED
+ result.tasks.join("\n") == """:bumpVersionFile=SKIPPED
+:fetchAllContributors=SKIPPED
+:fetchReleaseNotes=SKIPPED
+:updateReleaseNotes=SKIPPED
+:gitCommit=SKIPPED
+:gitTag=SKIPPED
:api:generatePomFileForJavaLibraryPublication=SKIPPED
:api:compileJava=SKIPPED
:api:processResources=SKIPPED
@@ -72,15 +77,10 @@ class ShipkitJavaPluginIntegTest extends GradleSpecification {
:impl:javadocJar=SKIPPED
:impl:sourcesJar=SKIPPED
:impl:publishJavaLibraryPublicationToMavenLocal=SKIPPED
-:bumpVersionFile=SKIPPED
-:fetchReleaseNotes=SKIPPED
-:updateReleaseNotes=SKIPPED
-:gitCommit=SKIPPED
-:gitTag=SKIPPED
:gitPush=SKIPPED
+:performGitPush=SKIPPED
:api:bintrayUpload=SKIPPED
:impl:bintrayUpload=SKIPPED
-:performGitPush=SKIPPED
:performRelease=SKIPPED"""
}
}
