Markdownのルールで書かれたテキストはタグなど複雑な要素が用いられていないため
直感的に分かりやすく、HTMLに変換しないままでも配布することが可能です。
Markdownのルールは[Settext][]、[atx][]、[Textile][]、[reStructuredText][]、
[Grutatext][]、[EtTe][]といったテキスト文書をHTMLに変換するツールを参考にしています。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task genItemRes << { | |
def list = ["abc", "def", "ghi"] | |
def dest = 'src/main/resources/assets/modid/models/item' | |
def template = 'src/main/template/itemTemplate.json' | |
file(dest).mkdir() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repositories { | |
maven { // The repo from which to get waila | |
name "Mobius Repo" | |
url "http://mobiusstrip.eu/maven" | |
} | |
maven { // the repo from which to get NEI and stuff | |
name 'CB Repo' | |
url "http://chickenbones.net/maven/" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repositories { | |
maven { | |
name = "CurseForge" | |
url = "https://minecraft.curseforge.com/api/" + project.curseforge_key | |
} | |
} | |
^^^ THIS DOES NOT GO IN BUILDSCRIPT, IT GOES ABOVE apply plugin: 'forge' ^^^ | |
Then add this to dependencies |