Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

fix(build): define repositories to resolve test classpath dependencies (#5650)

Ludybf57b1f33b44
diff --git a/build.gradle b/build.gradle
index 0f871f3608..c527e12a94 100644
--- a/build.gradle
+++ b/build.gradle
@@ -461,6 +461,24 @@ swaggerhubUpload {
oas = "3.0.0" // The version of the OpenAPI Specification you"re using
}
+repositories {
+ if (!rootProject.ext.mavenUrl.isEmpty()) {
+ maven {
+ url = rootProject.ext.mavenUrl + '/releases'
+ credentials(PasswordCredentials) {
+ username = rootProject.ext.username
+ password = rootProject.ext.password
+ }
+ authentication {
+ basic(BasicAuthentication)
+ }
+ allowInsecureProtocol = true
+ }
+ }
+ maven { url = "https://build.shibboleth.net/maven/releases" }
+ mavenCentral()
+}
+
dependencies {
implementation project(':stirling-pdf')
implementation project(':common')