mirror of
https://github.com/songoda/UltimateTimber.git
synced 2024-12-02 23:03:37 +01:00
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:
parent
bfdf2a2dca
commit
1d6809936e
@ -1,12 +1,21 @@
|
||||
stages:
|
||||
- build
|
||||
|
||||
variables:
|
||||
name: "UltimateTimber"
|
||||
path: "/builds/Songoda/$name"
|
||||
version: "1"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
image: maven:3.3.9-jdk-8
|
||||
script: "mvn clean package"
|
||||
image: maven:3.5.3-jdk-8
|
||||
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:
|
||||
name: "UltimateTimber"
|
||||
name: $name-$version
|
||||
paths:
|
||||
- "/builds/Songoda/ultimatetimber/target/*.jar"
|
||||
- "/builds/Songoda/ultimatetimber/Read_this_before_your_first_use.txt"
|
||||
- "$path/*.jar"
|
||||
- "$path/Read_this_before_your_first_use.txt"
|
||||
|
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>ultimatetimber</groupId>
|
||||
<artifactId>UltimateTimber</artifactId>
|
||||
<version>0.0.10</version>
|
||||
<version>maven-version-number</version>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: UltimateTimber
|
||||
version: 0.0.10
|
||||
version: maven-version-number
|
||||
author: Songoda
|
||||
main: com.songoda.ultimatetimber.UltimateTimber
|
||||
api-version: 1.13
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user