Update .gitlab-ci.yml, src/main/resources/plugin.yml, pom.xml, LICENSE files

Deleted target/classes/plugin.yml, src/LICENSE files
This commit is contained in:
Brianna O'Keefe 2018-11-19 01:49:30 +00:00
parent bfdf2a2dca
commit 1d6809936e
5 changed files with 16 additions and 33 deletions

View File

@ -1,12 +1,21 @@
stages: stages:
- build - build
variables:
name: "UltimateTimber"
path: "/builds/Songoda/$name"
version: "1"
build: build:
stage: build stage: build
image: maven:3.3.9-jdk-8 image: maven:3.5.3-jdk-8
script: "mvn clean package" script:
- find $path/ -type f -name "*.xml" -print0 | xargs -0 sed -i -e s/maven-version-number/$version/g
- mvn clean package
- find $path/ -depth -path '*original*' -delete
- mv -v $path/target/*.jar $path
artifacts: artifacts:
name: "UltimateTimber" name: $name-$version
paths: paths:
- "/builds/Songoda/ultimatetimber/target/*.jar" - "$path/*.jar"
- "/builds/Songoda/ultimatetimber/Read_this_before_your_first_use.txt" - "$path/Read_this_before_your_first_use.txt"

View File

@ -6,7 +6,7 @@
<groupId>ultimatetimber</groupId> <groupId>ultimatetimber</groupId>
<artifactId>UltimateTimber</artifactId> <artifactId>UltimateTimber</artifactId>
<version>0.0.10</version> <version>maven-version-number</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -1,5 +1,5 @@
name: UltimateTimber name: UltimateTimber
version: 0.0.10 version: maven-version-number
author: Songoda author: Songoda
main: com.songoda.ultimatetimber.UltimateTimber main: com.songoda.ultimatetimber.UltimateTimber
api-version: 1.13 api-version: 1.13

View File

@ -1,26 +0,0 @@
name: UltimateTimber
version: 0.0.8
author: Songoda
main: com.songoda.ultimatetimber.UltimateTimber
api-version: 1.13
commands:
ultimatetimber:
description: Reloads the configuration file
usage: /ultimatetimber reload
aliases: [ut]
permissions:
ultimatetimber.*:
description: Inherits all plugin permissions
children:
ultimatetimber.chop: true
ultimatetimber.bonusloot: true
ultimatetimber.reload: true
ultimatetimber.chop:
description: Allows players to trigger the trees toppling down effect
default: op
ultimatetimber.bonusloot:
description: Doubles the loot obtained from trees
default: op
ultimatetimber.reload:
description: Reloads the configuration file
default: op