We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 09be090 + 34d979c commit 8bb3199Copy full SHA for 8bb3199
1 file changed
build.gradle
@@ -39,6 +39,17 @@ jacocoTestCoverageVerification {
39
}
40
41
42
+configurations.all {
43
+ resolutionStrategy {
44
+ componentSelection {
45
+ all { ComponentSelection selection ->
46
+ if (selection.candidate.version =~ /(?i).*[.-](alpha|beta|rc|m)[.\d-]*/) {
47
+ selection.reject("Pre-release versions are not allowed")
48
+ }
49
50
51
52
+}
53
54
repositories {
55
mavenCentral()
0 commit comments