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:
|
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"
|
||||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
@ -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
|
||||||
|
@ -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