forked from plasmoapp/plasmo-voice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
71 lines (59 loc) · 1.68 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import org.gradle.kotlin.dsl.support.listFilesOrdered
pluginManagement {
repositories {
gradlePluginPortal()
mavenLocal()
mavenCentral()
google()
maven("https://jitpack.io/")
maven("https://maven.fabricmc.net")
maven("https://maven.architectury.dev/")
maven("https://maven.minecraftforge.net")
maven("https://repo.essential.gg/repository/maven-public")
maven("https://repo.plo.su")
}
plugins {
val egtVersion = "0.2.2"
id("gg.essential.defaults") version egtVersion
id("gg.essential.multi-version.root") version egtVersion
}
}
rootProject.name = "PlasmoVoice"
// Protocol
include("protocol")
// API
file("api").listFilesOrdered {
return@listFilesOrdered it.isDirectory && it.name != "build"
}.forEach {
include("api:${it.name}")
}
// Common
include("common")
include("client")
project(":client").apply {
projectDir = file("client/")
buildFileName = "root.gradle.kts"
}
file("client").listFilesOrdered {
return@listFilesOrdered it.isDirectory && it.name.contains("-")
}.forEach {
include("client:${it.name}")
project(":client:${it.name}").apply {
projectDir = file("client/${it.name}")
buildFileName = "../build.gradle.kts"
}
}
// Server Common (Module for common code between server and proxy implementations)
include("server-common")
// Server
file("server").listFilesOrdered {
return@listFilesOrdered it.isDirectory && it.name != "build"
}.forEach {
include("server:${it.name}")
}
// Proxy
file("proxy").listFilesOrdered {
return@listFilesOrdered it.isDirectory && it.name != "build"
}.forEach {
include("proxy:${it.name}")
}