-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbuild.gradle
25 lines (24 loc) · 1.01 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
plugins {
// Required for NeoGradle
id 'org.jetbrains.gradle.plugin.idea-ext' version '1.1.7'
id 'fabric-loom' version "${fabric_loom_version}" apply(false)
id 'net.neoforged.moddev' version "${neo_moddev}" apply(false)
id 'me.modmuss50.mod-publish-plugin' version "${modmuss50_mod_publish_version}" apply(false)
id 'com.diffplug.spotless' version "${spotless_version}" apply(false)
id 'org.moddedmc.wiki.toolkit' version '0.2.5'
}
wiki {
if (file('key.properties').exists()) {
def releaseProp = new Properties()
File secretPropsFile = file("key.properties")
releaseProp.load(secretPropsFile.newInputStream())
wikiAccessToken = releaseProp.getProperty("wikiKey")
}
docs {
// The name of the object (examplemod) should match the registered wiki project ID (if it exists).
gigeresque {
// The path to the folder containing the documentation metadata file (sinytra-wiki.json)
root = file('docs/gigeresque')
}
}
}