Small build.gradle cleanup and README update

This commit is contained in:
Brady 2019-02-22 18:12:04 -06:00
parent 3b46dbd6a1
commit c808d5a42d
No known key found for this signature in database
GPG Key ID: 73A788379A197567
2 changed files with 141 additions and 137 deletions

View File

@ -34,6 +34,8 @@ Have committed at least once a day for the last 6 months =D 🦀
1Leijurv3DWTrGAfmmiTphjhXLvQiHg7K2 1Leijurv3DWTrGAfmmiTphjhXLvQiHg7K2
# Getting Started
Here are some links to help to get started: Here are some links to help to get started:
- [Features](FEATURES.md) - [Features](FEATURES.md)
@ -46,11 +48,15 @@ Here are some links to help to get started:
- [Settings](https://baritone.leijurv.com/baritone/api/Settings.html#allowBreak) - [Settings](https://baritone.leijurv.com/baritone/api/Settings.html#allowBreak)
# Chat control
- [Baritone chat control usage](USAGE.md) - [Baritone chat control usage](USAGE.md)
# API example # API
The API is heavily documented, you can find the Javadocs for the latest release [here](https://baritone.leijurv.com/).
Please note that usage of anything located outside of the ``baritone.api`` package is not supported by the API release
jar.
Below is an example of basic usage for changing some settings, and then pathing to a X/Z goal.
``` ```
BaritoneAPI.getSettings().allowSprint.value = true; BaritoneAPI.getSettings().allowSprint.value = true;

View File

@ -111,9 +111,7 @@ jar {
from sourceSets.launch.output, sourceSets.api.output from sourceSets.launch.output, sourceSets.api.output
preserveFileTimestamps = false preserveFileTimestamps = false
reproducibleFileOrder = true reproducibleFileOrder = true
}
jar {
manifest { manifest {
attributes( attributes(
'MixinConfigs': 'mixins.baritone.json', 'MixinConfigs': 'mixins.baritone.json',