forked from SpongePowered/VanillaGradle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
36 lines (32 loc) · 1.18 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
pluginManagement {
repositories {
maven("https://repo.spongepowered.org/repository/maven-public/") {
name = "sponge"
}
}
plugins {
id("com.gradle.plugin-publish") version "0.21.0"
id("org.jetbrains.gradle.plugin.idea-ext") version "1.1.4"
id("com.diffplug.eclipse.apt") version "3.36.2"
val indraVersion = "2.1.1"
id("net.kyori.indra") version indraVersion
id("net.kyori.indra.git") version indraVersion
id("net.kyori.indra.license-header") version indraVersion
id("net.kyori.indra.publishing.gradle-plugin") version indraVersion
id("net.kyori.indra.publishing.sonatype") version indraVersion
}
}
rootProject.name = "vanillagradle-parent"
// The Gradle plugin maintains a different name convention to preserve history
include("gradle-plugin")
findProject(":gradle-plugin")?.apply {
name = "vanillagradle"
projectDir = file("subprojects/gradle-plugin")
}
sequenceOf("resolver-core", "downloader-apache-http", "downloader-jdk-http").forEach {
include(it)
findProject(":$it")?.apply {
name = "vanillagradle-$it"
projectDir = file("subprojects/$it")
}
}