-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
143 lines (134 loc) · 4.19 KB
/
settings.gradle.kts
File metadata and controls
143 lines (134 loc) · 4.19 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/*
* ____ _ _ ____ ___ ____ _ _ ____ ____ ____ ____ ___ _ _ _ ____
* | | | [__ | | | |\/| | |__/ |__| |___ | | |\ | | __
* |___ |__| ___] | |__| | | |___ | \ | | | | | | \| |__]
*
* CustomCrafting Recipe creation and management tool for Minecraft
* Copyright (C) 2021 WolfyScript
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/
rootProject.name = "customcrafting"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
dependencyResolutionManagement {
repositories {
// mavenLocal()
maven("https://artifacts.wolfyscript.com/artifactory/gradle-dev")
}
versionCatalogs {
create("sharedLibs") {
from("com.wolfyscript.scafall:scafall-versions:1.2.2")
}
}
}
pluginManagement {
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
maven {
name = "Fabric"
url = uri("https://maven.fabricmc.net")
content {
includeGroupAndSubgroups("net.fabricmc")
includeGroup("fabric-loom")
}
}
maven {
name = "Sponge"
url = uri("https://repo.spongepowered.org/repository/maven-public")
content {
includeGroupAndSubgroups("org.spongepowered")
}
}
maven {
name = "Forge"
url = uri("https://maven.minecraftforge.net")
content {
includeGroupAndSubgroups("net.minecraftforge")
}
}
maven("https://artifacts.wolfyscript.com/artifactory/gradle-dev")
maven(url = "https://maven.pkg.jetbrains.space/public/p/compose/dev")
google()
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
/**
* # Core
* This contains the core functionality of CustomCrafting.
* Which includes
* - all the features for custom recipes
* - registration of custom recipes and components
* - de-/serialization of all the content
* - database and file management
*
* The core is the only module required to get CustomCrafting to run.
* Recipe files can be modified with any text-editor that support the HOCON format.
*
* The Editor and UI modules are optional and provide a way to edit content in-game.
*/
sequenceOf(
"api",
"common",
"spigotlike",
"spigot",
"paper",
"fabric",
).forEach {
include(":core:${it}")
project(":core:${it}").apply {
projectDir = file("core/${it.replace(":", "/")}")
name = "core-${it.replace(":", "-")}"
}
}
/**
* # Editor
* The editor module contains all the functionality for the editor.
* That includes,
* - the data models, that reflect objects in the editor,
* - use-cases, that contain the logic to modify the models,
* - the repository that stores the data,
* - and the CLI that allows editing recipes via commands.
*/
sequenceOf(
"common"
).forEach {
include(":editor:${it}")
project(":editor:${it}").apply {
projectDir = file("editor/${it.replace(":", "/")}")
name = "editor-${it.replace(":", "-")}"
}
}
/**
* # UI
* > Requires the Editor module.
* Adds a UI that allows editing and creating content with an in-game UI.
*/
sequenceOf(
"common"
).forEach {
include(":ui:${it}")
project(":ui:${it}").apply {
projectDir = file("ui/${it.replace(":", "/")}")
name = "ui-${it.replace(":", "-")}"
}
}