/
settings.gradle.kts
86 lines (77 loc) · 2.58 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*
* FlintMC
* Copyright (C) 2020-2021 LabyMedia GmbH and contributors
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
rootProject.name = "flint"
fun defineModule(path: String) {
include(path)
findProject(":$path")?.name = path.replace(":", "-")
}
pluginManagement {
plugins {
id("net.flintmc.flint-gradle") version "2.12.0"
}
buildscript {
dependencies {
classpath("net.flintmc", "flint-gradle", "2.12.0")
}
repositories {
mavenLocal()
maven {
setUrl("https://dist.labymod.net/api/v1/maven/release")
name = "Flint"
}
mavenCentral()
}
}
}
defineModule("annotation-processing:autoload")
defineModule("framework:config")
defineModule("framework:data-generation")
defineModule("framework:eventbus")
defineModule("framework:inject")
defineModule("framework:inject-primitive")
defineModule("framework:metaprogramming")
defineModule("framework:packages")
defineModule("framework:service")
defineModule("framework:stereotype")
defineModule(":mcapi")
defineModule("render:gui")
defineModule("render:shader")
defineModule("render:vbo-rendering")
defineModule("render:webgui")
defineModule("render:model-renderer")
defineModule("transform:asm")
defineModule("transform:hook")
defineModule("transform:javassist")
defineModule("transform:launcher-plugin")
defineModule("transform:minecraft")
defineModule("transform:minecraft-obfuscator")
defineModule("transform:minecraft-deobfuscator")
defineModule("transform:shadow")
defineModule("util:attribute")
defineModule("util:class-cache")
defineModule("util:commons")
defineModule("util:csv")
defineModule("util:i18n")
defineModule("util:mapping")
defineModule("util:math")
defineModule("util:property")
defineModule("util:mojang")
defineModule("util:session-service")
defineModule("util:task-executor")
defineModule("util:unit-testing")