We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f782d4 commit 3fd319fCopy full SHA for 3fd319f
testdata/gradle/setupcmd/build.gradle
@@ -5,7 +5,11 @@ plugins {
5
allprojects {
6
repositories {
7
all { repo ->
8
- repo.allowInsecureProtocol = true // Allow plain HTTP for local Artifactory tests
+ // This check is for Gradle versions less than 8.0
9
+ if (repo.hasProperty('allowInsecureProtocol')) {
10
+ // For Gradle 8.0 and later this flag is mandatory to allow running against local Artifactory instances
11
+ repo.allowInsecureProtocol = true
12
+ }
13
}
14
15
0 commit comments