Skip to content

Commit 99932e8

Browse files
committed
Gitlab maven repo failes: SSL error - Connection refused
1 parent 3633d25 commit 99932e8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ subprojects {
7373
repositories {
7474
mavenCentral()
7575
maven {
76-
url = 'https://git.key-project.org/api/v4/projects/35/packages/maven'
76+
url = "https://git.key-project.org/api/v4/projects/35/packages/maven"
77+
allowInsecureProtocol=true
7778
}
7879
}
7980

@@ -252,8 +253,8 @@ subprojects {
252253

253254
doLast {
254255
CheckstyleMarkdownReport.report(
255-
layout.buildDirectory.dir("reports/checkstyle/main.xml").get().asFile,
256-
layout.buildDirectory.dir("reports/checkstyle/main.md").get().asFile)
256+
layout.buildDirectory.dir("reports/checkstyle/main.xml").get().asFile.toPath(),
257+
layout.buildDirectory.dir("reports/checkstyle/main.md").get().asFile.toPath())
257258
}
258259
}
259260

0 commit comments

Comments
 (0)