-
Notifications
You must be signed in to change notification settings - Fork 695
Expand file tree
/
Copy pathrepositories.gradle.kts
More file actions
46 lines (44 loc) · 2.02 KB
/
repositories.gradle.kts
File metadata and controls
46 lines (44 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
listOf(pluginManagement.repositories, dependencyResolutionManagement.repositories).forEach {
it.apply {
// Uncomment this one to use the Kotlin "dev" repository
// maven { url = uri("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/") }
// Uncomment this one to use the Sonatype OSSRH snapshots repository
// maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots/") }
mavenCentral()
exclusiveContent {
forRepository(::google)
filter {
includeGroup("com.android")
includeGroup("com.android.library")
includeGroup("com.android.application")
includeGroup("com.android.databinding")
includeGroup("com.android.lint")
includeGroup("com.google.testing.platform")
/*
* The com.android.tools groupId is verbose because we don't want to clash with com.android.tools:r8 in the raw repository
*/
includeModule("com.android.tools", "sdk-common")
includeModule("com.android.tools", "sdklib")
includeModule("com.android.tools", "repository")
includeModule("com.android.tools", "common")
includeModule("com.android.tools", "dvlib")
includeModule("com.android.tools", "annotations")
includeModule("com.android.tools", "play-sdk-proto")
includeGroupByRegex("com\\.android\\.tools\\..*")
includeModuleByRegex("androidx\\..*", ".*")
}
}
exclusiveContent {
forRepository(::gradlePluginPortal)
filter {
includeModule("org.gradle.kotlin.embedded-kotlin", "org.gradle.kotlin.embedded-kotlin.gradle.plugin")
includeModule("org.gradle.kotlin", "gradle-kotlin-dsl-plugins")
includeModule("me.champeau.gradle", "japicmp-gradle-plugin")
includeModule("org.jetbrains.kotlinx", "kotlinx-benchmark-plugin")
includeModule("com.gradle.publish", "plugin-publish-plugin")
includeModule("com.github.ben-manes", "gradle-versions-plugin")
includeModule("com.gradle", "develocity-gradle-plugin")
}
}
}
}