Skip to content

Commit a1ef906

Browse files
goodwinnkSpace Team
authored andcommitted
Restrict repositories usage in pluginManagement
1 parent 377269e commit a1ef906

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

settings.gradle

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,24 @@ pluginManagement {
99
includeGroupByRegex("org\\.jetbrains\\.intellij\\.deps(\\..+)?")
1010
}
1111
}
12-
maven { url "https://redirector.kotlinlang.org/maven/kotlin-dependencies" }
13-
google { url "https://cache-redirector.jetbrains.com/dl.google.com/dl/android/maven2" }
14-
mavenCentral { url "https://cache-redirector.jetbrains.com/maven-central" }
12+
maven {
13+
url "https://redirector.kotlinlang.org/maven/kotlin-dependencies"
14+
content {
15+
includeGroup("org.jetbrains.kotlin")
16+
includeGroup("org.spdx")
17+
includeGroup("org.jetbrains.kotlinx")
18+
includeGroup("org.jetbrains.kotlinx.benchmark")
19+
}
20+
}
21+
google {
22+
url "https://cache-redirector.jetbrains.com/dl.google.com/dl/android/maven2"
23+
content {
24+
includeGroup("com.android.tools")
25+
}
26+
}
27+
mavenCentral {
28+
url "https://cache-redirector.jetbrains.com/maven-central"
29+
}
1530
gradlePluginPortal()
1631
}
1732

0 commit comments

Comments
 (0)