-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
settings.gradle
44 lines (43 loc) · 1.25 KB
/
settings.gradle
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
import org.gradle.api.initialization.resolve.RepositoriesMode
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
}
resolutionStrategy {
eachPlugin {
def pluginId = it.requested.id.id
if (pluginId == "com.likethesalad.artifact-publisher") {
useModule("com.likethesalad.tools:artifact-publisher:${it.requested.version}")
}
if (pluginId == "plugin-metadata-producer") {
useModule("com.likethesalad.tools:plugin-metadata-producer:1.0.0")
}
if (it.requested.id.namespace == "com.likethesalad.tools") {
useModule("com.likethesalad.tools:plugin-tools:${it.requested.version}")
}
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenLocal()
mavenCentral()
google()
}
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
}
}
rootProject.name = 'stem'
include ':stem-plugin'
include ':templates-provider-plugin'
include ':templates-provider-api'
include ':common-tools'