Skip to content

Commit 238558f

Browse files
committed
Remove jcenter and Findawayworld repositories.
1 parent 4e0724a commit 238558f

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

settings.gradle.kts

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,17 @@ dependencyResolutionManagement {
112112
)
113113
}
114114

115+
/*
116+
* Conditionally enable Findaway DRM.
117+
*/
118+
119+
if (findawayDRM && !s3RepositoryEnabled) {
120+
throw GradleException(
121+
"If the org.thepalaceproject.findawayDRM.enabled property is set to true, " +
122+
"the org.thepalaceproject.s3.depend property must be set to true."
123+
)
124+
}
125+
115126
/*
116127
* The set of repositories used to resolve library dependencies. The order is significant!
117128
*/
@@ -138,17 +149,6 @@ dependencyResolutionManagement {
138149

139150
google()
140151

141-
/*
142-
* Findaway access.
143-
*/
144-
145-
if (findawayDRM) {
146-
maven {
147-
url = uri("http://maven.findawayworld.com/artifactory/libs-release/")
148-
isAllowInsecureProtocol = true
149-
}
150-
}
151-
152152
/*
153153
* Allow access to the Sonatype snapshots repositories.
154154
*/
@@ -200,12 +200,6 @@ dependencyResolutionManagement {
200200
}
201201
}
202202
}
203-
204-
/*
205-
* Obsolete dependencies.
206-
*/
207-
208-
jcenter()
209203
}
210204
}
211205

0 commit comments

Comments
 (0)