Compare commits

..

5 Commits

Author SHA1 Message Date
jolheiser 7fc3dac3db YOLO
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-01-11 03:10:09 +00:00
jolheiser 7173a70003 Clean up YAML 2022-01-11 03:07:37 +00:00
Joey Hines 700494f15b Switched CI to woodpecker (#3)
+ Bumped gradle version

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: Minecraft/pluginapi#3
Co-authored-by: Joey Hines <joey@ahines.net>
Co-committed-by: Joey Hines <joey@ahines.net>
2022-01-11 03:05:18 +00:00
Etzelia 8c780129cd Update to BirbMC (#2)
Update to BirbMC

Signed-off-by: Etzelia <etzelia@hotmail.com>

Reviewed-on: https://git.birbmc.com/BirbMC/pluginapi/pulls/2
Co-Authored-By: Etzelia <etzelia@hotmail.com>
Co-Committed-By: Etzelia <etzelia@hotmail.com>
2021-06-09 01:50:29 +00:00
Etzelia 333819b7cd gradle (#1)
HTTPS jcenter

Signed-off-by: Etzelia <etzelia@hotmail.com>

Clean up repositories

Signed-off-by: Etzelia <etzelia@hotmail.com>

Move to Gradle

Signed-off-by: Etzelia <etzelia@hotmail.com>

Added TickDuration (#10)

Added tests to .drone.yml

+ Added `mvn test` step to compliance

Merge branch 'master' of https://git.etztech.xyz/Minecraft/PluginAPI into time_parser

Added tests and renamed BukkitDuration to TickDuration

Added BukkitDuration

+ Designed for parsing time arguments easily

Co-authored-by: Joey Hines <joey@ahines.net>
Reviewed-on: https://git.etztech.xyz/Minecraft/PluginAPI/pulls/10
Reviewed-by: Etzelia <etzelia@hotmail.com>

Drone (#9)

Add '.drone.yml'

Reviewed-on: https://git.etztech.xyz/Minecraft/PluginAPI/pulls/9
Reviewed-by: ZeroHD <joey@ahines.net>

Co-authored-by: ZeroHD <joey@ahines.net>
Reviewed-on: https://git.birbmc.com/BirbMC/pluginapi/pulls/1
Co-Authored-By: Etzelia <etzelia@hotmail.com>
Co-Committed-By: Etzelia <etzelia@hotmail.com>
2021-03-16 01:57:37 +00:00
5 changed files with 24 additions and 40 deletions

View File

@ -1,35 +0,0 @@
---
kind: pipeline
name: compliance
trigger:
event:
- pull_request
steps:
- name: build
pull: always
image: gradle:6.6
commands:
- gradle build
- gradle test
---
kind: pipeline
name: release
trigger:
branch:
- master
event:
- push
steps:
- name: publish
pull: always
image: gradle:6.6
environment:
MAVEN_PASSWORD:
from_secret: maven_password
commands:
- gradle publish

19
.woodpecker.yml 100644
View File

@ -0,0 +1,19 @@
clone:
git:
image: "woodpeckerci/plugin-git:next"
pipeline:
compliance:
commands:
- "gradle build"
- "gradle test"
image: "gradle:7.3-jdk17"
when:
event: pull_request
release:
commands:
- "gradle publish"
secrets:
- maven_password
image: "gradle:7.3-jdk17"
when:
branch: master

View File

@ -4,7 +4,7 @@ A collection of APIs for use in plugins.
## Releases
[Reposilite](https://repo.etztech.xyz/releases/xyz/etztech/plugin-api)
[Reposilite](https://mvn.birbmc.com/releases/xyz/etztech/plugin-api)
## MinecraftManager Interface

View File

@ -34,10 +34,10 @@ publishing {
}
repositories {
maven {
name = "etztech"
url = "https://repo.etztech.xyz/releases"
name = "jojodev"
url = "https://mvn.jojodev.com/releases"
credentials {
username = "etzelia"
username = "admin"
password = System.getenv("MAVEN_PASSWORD")
}
}

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists