-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.gradle
More file actions
44 lines (35 loc) · 1.09 KB
/
mod.gradle
File metadata and controls
44 lines (35 loc) · 1.09 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
buildscript {
if (java.nio.file.Files.isRegularFile(project.file('buildscript.gradle').toPath())) {
println('Loading local buildscript.')
apply from: 'buildscript.gradle', to: buildscript
} else {
#include "./buildscript.gradle"
}
}
// Version check and loading essential properties
#include "mod/version_check.gradle"
#include "mod/mod_properties.gradle"
#include "mod/secret_properties.gradle"
#include "mod/git_changelog.gradle"
// Applying base plugins and repository configuration
#include "mod/base_plugins.gradle"
#include "mod/repositories.gradle"
// Configuration of the minecraft block
#include "mod/minecraft.gradle"
// Compilation, resource processing and packaging
#include "mod/compilation.gradle"
// ModGradle setup and mcupdate
#include "mod/setup.gradle"
// Configuration of mixin
if (mod.mixin) {
#include "mod/mixin.gradle"
}
if ('local_maven' in mod || 'remote_maven' in mod) {
#include "mod/publish.gradle"
}
if ('curse' in mod) {
#include "mod/upload_curse.gradle"
}
if ('modrinth' in mod) {
#include "mod/upload_modrinth.gradle"
}