generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.gradle.kts
38 lines (34 loc) · 1.04 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
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
maven {
url = uri("https://jitpack.io")
content {
// Download only these groups from the repository
includeGroup("com.github.stepango.aar2jar")
}
}
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "com.android.application") {
useModule("com.android.tools.build:gradle:${requested.version}")
}
if (requested.id.id.startsWith("com.stepango.aar2jar")) {
val (_, _, name) = requested.id.id.split(".", limit = 3)
useModule("com.github.stepango.$name:build:${requested.version}")
}
}
}
}
rootProject.name = "surveyor-idea"
include("plugin")
include("plugin-test")
include("droid-common")
include("droid-selector")
include("droid-stubs")
include("ipredicate")
project(":ipredicate").projectDir = file("ipredicate/project")
include("library")