(Hopefully) fix Travis builds, set compat. to Java 8 for consistency

This commit is contained in:
DoNotSpamPls 2018-08-17 10:01:02 +03:00
parent 8dc0859cba
commit 09e1b17bab
3 changed files with 26 additions and 25 deletions

View File

@ -1,5 +1,5 @@
language: java
jdk: [ openjdk7 ]
jdk: [ openjdk8 ]
branches:
except:
- gh-pages

View File

@ -1,23 +1,24 @@
# VaultAPI - Abstraction Library API for Bukkit Plugins - ![Travis-ci](https://travis-ci.org/MilkBowl/VaultAPI.svg?branch=master)
# VaultAPI - Abstraction Library API for Bukkit Plugins - [![](https://travis-ci.org/MilkBowl/VaultAPI.svg?branch=master)](https://travis-ci.org/MilkBowl/VaultAPI)
How to use with maven: note that the VaultAPI version is 2 numerals, unlike Vault versions which are 3. The 2 numerals in the VaultAPI will always correspond to the 2 beginning numerals in a Vault version to make it clear what versions your plugin will for sure work with.
How to include the API with Maven:
```
<repositories>
<repository>
<id>vault-repo</id>
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.6</version>
<scope>provided</scope>
</dependency>
</dependencies>
```
<repositories>
<repository>
<id>vault-repo</id>
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.6</version>
<scope>provided</scope>
</dependency>
</dependencies>
```
**Note**: The VaultAPI version has 2 numbers (major.minor), unlike Vault, which has 3. The 2 numbers in the VaultAPI will always correspond to the 2 beginning numbers in a Vault version to make it clear what versions your plugin will for sure work with.
## Why Vault?
I have no preference which library suits your plugin and development efforts
@ -32,7 +33,7 @@ So, what features do I _think_ you'll like the most?
* Choice!
## License
Copyright (C) 2011 Morgan Humes <morgan@lanaddict.com>
Copyright (C) 2011-2018 Morgan Humes <morgan@lanaddict.com>
Vault is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
@ -50,7 +51,6 @@ along with Vault. If not, see <http://www.gnu.org/licenses/>.
## Building
VaultAPI comes with all libraries needed to build from the current branch.
## Implementing Vault
Implementing Vault is quite simple. It requires getting the Economy, Permission, or Chat service from the Bukkit ServiceManager. See the example below:

11
pom.xml
View File

@ -4,7 +4,12 @@
<groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.6</version>
<name>VaultAPI</name>
<description>Vault is a Permissions &amp; Economy API to allow plugins to more easily hook into these systems without needing to hook each individual system themselves.
Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms, bPerms2, SimplyPerms, DroxPerms, zPermissions, rscPermissions, KPerms, Starburst, iConomy (4/5/6) BOSEconomy *6/7), EssentialsEcon, 3Co, MultiConomy, MineConomy, EconXP, eWallet, CurrencyCore, XPBank, CraftConomy, AEco, SDFEconomy, TAEcon
</description>
<url>http://dev.bukkit.org/server-mods/vault/</url>
<properties>
@ -25,7 +30,7 @@
</scm>
<ciManagement>
<system>travis</system>
<system>Travis-CI</system>
<url>https://travis-ci.org/MilkBowl/VaultAPI</url>
</ciManagement>
@ -103,8 +108,4 @@
</plugin>
</plugins>
</build>
<description>Vault is a Permissions &amp; Economy API to allow plugins to more easily hook into these systems without needing to hook each individual system themselves.
Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms, bPerms2, SimplyPerms, DroxPerms, zPermissions, rscPermissions, KPerms, Starburst, iConomy (4/5/6) BOSEconomy *6/7), EssentialsEcon, 3Co, MultiConomy, MineConomy, EconXP, eWallet, CurrencyCore, XPBank, CraftConomy, AEco, SDFEconomy, TAEcon
</description>
</project>