-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
23 lines (22 loc) · 889 Bytes
/
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
plugins {
// Required for NeoGradle
id "org.jetbrains.gradle.plugin.idea-ext" version "1.1.7"
id 'net.neoforged.moddev' version "${neo_moddev}" apply(false)
id 'me.modmuss50.mod-publish-plugin' version "${modmuss50_mod_publish_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).
azurelib {
// The path to the folder containing the documentation metadata file (sinytra-wiki.json)
root = file('docs/azurelib')
}
}
}