forked from Darkhax-Minecraft/Minecraft-Modding-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
33 lines (29 loc) · 1.16 KB
/
build.gradle
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
apply plugin: 'java'
apply plugin: 'eclipse'
apply from: 'gradle/property_helper.gradle'
apply from: 'gradle/property_loader.gradle'
// Load mod related properties
ext.modName = getRequiredString('mod_name')
ext.modAuthor = getRequiredString('mod_author')
ext.modId = getRequiredString('mod_id')
ext.modCredits = getDefaultString('mod_credits', ext.modAuthor)
ext.modDescription = getOptionalString('mod_description')
ext.modChangelog = getOptionalString('mod_changelog')
ext.modHomepage = getOptionalString('mod_homepage')
ext.modSource = getOptionalString('mod_source')
ext.modIssues = getOptionalString('mod_issues')
// Load Minecraft specific properties
ext.mcVersion = getRequiredString('minecraft_version')
// Load build-time modules
apply from: 'gradle/build_number.gradle'
apply from: 'gradle/git_changelog.gradle'
apply from: 'gradle/patreon.gradle'
apply from: 'gradle/java.gradle'
apply from: 'gradle/forge.gradle'
apply from: 'gradle/dependencies.gradle'
apply from: 'gradle/minify_jsons.gradle'
// Load publishing modules
apply from: 'gradle/maven.gradle'
apply from: 'gradle/signing.gradle'
apply from: 'gradle/curseforge.gradle'
apply from: 'gradle/version_checker.gradle'