-
Notifications
You must be signed in to change notification settings - Fork 13
/
settings.gradle.kts
39 lines (33 loc) · 1.27 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
rootProject.name = "rider-efcore"
pluginManagement {
val rdVersion: String by settings
val rdKotlinVersion: String by settings
val intellijPlatformGradlePluginVersion: String by settings
val gradleJvmWrapperVersion: String by settings
repositories {
maven("https://cache-redirector.jetbrains.com/intellij-dependencies")
maven("https://cache-redirector.jetbrains.com/plugins.gradle.org")
maven("https://cache-redirector.jetbrains.com/maven-central")
if (rdVersion == "SNAPSHOT") {
mavenLocal()
}
}
plugins {
id("com.jetbrains.rdgen") version rdVersion
id("org.jetbrains.kotlin.jvm") version rdKotlinVersion
id("org.jetbrains.intellij.platform") version intellijPlatformGradlePluginVersion
id("me.filippov.gradle.jvm.wrapper") version gradleJvmWrapperVersion
}
resolutionStrategy {
eachPlugin {
when (requested.id.name) {
// This required to correctly rd-gen plugin resolution.
// Maybe we should switch our naming to match Gradle plugin naming convention.
"rdgen" -> {
useModule("com.jetbrains.rd:rd-gen:${rdVersion}")
}
}
}
}
}
include(":protocol")