Changing version number and updating ignore file

This commit is contained in:
Sekwah 2020-01-22 16:30:59 +00:00
parent a5c828e010
commit ffe3201a93
No known key found for this signature in database
GPG Key ID: A3DC2450FC15DB57
4 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -11,6 +11,7 @@
*.iws
*.ipr
out/
logs/
classes/
run/

View File

@ -51,7 +51,7 @@ task copyPlugin {
doLast {
copy {
if(System.env.MC_SERVER_LOC == null) {
throw new GradleException('You must set the server location and jar to use')
throw new Exception('You must set the server location and jar to use')
}
println "$buildDir/libs/Advanced-Portals-${version}.jar"
println "${System.env.MC_SERVER_LOC}/plugins/Advanced-Portals-${version}.jar"
@ -74,7 +74,7 @@ task copyPlugin {
task runJar() {
doLast {
if(System.env.MC_SERVER_LOC == null || System.env.MC_SERVER_JAR == null) {
throw new GradleException('You must set the server location and jar to use MC_SERVER_LOC and MC_SERVER_JAR')
throw new Exception('You must set the server location and jar to use MC_SERVER_LOC and MC_SERVER_JAR')
}
javaexec {
main "-jar"

View File

@ -1,4 +1,4 @@
main: com.sekwah.advancedportals.bungee.AdvancedPortalsPlugin
name: AdvancedPortals
version: 0.2.1
version: 0.2.2
author: sekwah41

View File

@ -1,6 +1,6 @@
main: com.sekwah.advancedportals.bukkit.AdvancedPortalsPlugin
name: AdvancedPortals
version: 0.2.1
version: 0.2.2
author: sekwah41
description: An advanced portals plugin for bukkit.
api-version: 1.13