[minor] fix compiler warnings in scripting modules
This commit is contained in:
committed by
teamcityserver
parent
59304ba70c
commit
8eb7e719d3
+1
@@ -98,6 +98,7 @@ class MavenDependenciesResolver : ExternalDependenciesResolver {
|
||||
*/
|
||||
setAuthentication(
|
||||
AuthenticationBuilder().apply {
|
||||
@Suppress("DEPRECATION")
|
||||
val mavenRepo = repositoryCoordinates as? MavenRepositoryCoordinates
|
||||
val username = options.username ?: mavenRepo?.username
|
||||
val password = options.password ?: mavenRepo?.password
|
||||
|
||||
+1
-1
@@ -207,7 +207,7 @@ internal class AetherResolveSession(
|
||||
if (mirrors != null) {
|
||||
for (mirror in mirrors) {
|
||||
selector.add(
|
||||
mirror.id, mirror.url, mirror.layout, false,
|
||||
mirror.id, mirror.url, mirror.layout, false, false,
|
||||
mirror.mirrorOf, mirror.mirrorOfLayouts
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user