We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 722fb7b commit 1143bcaCopy full SHA for 1143bca
build.gradle
@@ -116,6 +116,11 @@ jacocoTestReport {
116
dependsOn test // tests are required to run before generating the report
117
}
118
119
+// Enforce running tests before publishing
120
+tasks.withType(PublishToMavenRepository).configureEach {task ->
121
+ task.dependsOn test
122
+}
123
+
124
// https://docs.gradle.org/current/userguide/signing_plugin.html
125
signing {
126
if (!version.endsWith('SNAPSHOT')) { // only sign non-snapshot versions
0 commit comments