-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
settings.gradle.kts
39 lines (37 loc) · 1.37 KB
/
settings.gradle.kts
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
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.id == "com.android.application") {
useModule("com.android.tools.build:gradle:${requested.version}")
}
if (requested.id.id == "io.sentry.android.gradle") {
useModule("io.sentry:sentry-android-gradle-plugin:${requested.version}")
}
if (requested.id.id == "io.sentry.kotlin.compiler.gradle") {
useModule("io.sentry:sentry-android-gradle-plugin:${requested.version}")
}
if (requested.id.id == "io.sentry.jvm.gradle") {
useModule("io.sentry:sentry-android-gradle-plugin:${requested.version}")
}
}
}
repositories {
gradlePluginPortal()
mavenCentral()
google()
}
}
rootProject.name = ("sentry-android-gradle-plugin-composite-build")
include(":examples:android-gradle")
include(":examples:android-gradle-kts")
include(":examples:android-guardsquare-proguard")
include(":examples:android-ndk")
include(":examples:android-instrumentation-sample")
include(":examples:android-room-lib")
include(":examples:spring-boot-sample")
includeBuild("plugin-build") {
dependencySubstitution {
substitute(module("io.sentry:sentry-android-gradle-plugin")).using(project(":"))
}
}
includeBuild("sentry-kotlin-compiler-plugin")