Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Etzelia | 9daca896cd | |
Etzelia | bb4f4522d9 | |
Etzelia | 720a4f20a7 | |
Joey Hines | f62b9a4ac4 | |
Etzelia | 6e90ba9587 |
|
@ -0,0 +1,35 @@
|
||||||
|
---
|
||||||
|
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
|
|
@ -1,19 +0,0 @@
|
||||||
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
|
|
|
@ -4,7 +4,7 @@ A collection of APIs for use in plugins.
|
||||||
|
|
||||||
## Releases
|
## Releases
|
||||||
|
|
||||||
[Reposilite](https://mvn.birbmc.com/releases/xyz/etztech/plugin-api)
|
[Reposilite](https://repo.etztech.xyz/releases/xyz/etztech/plugin-api)
|
||||||
|
|
||||||
## MinecraftManager Interface
|
## MinecraftManager Interface
|
||||||
|
|
||||||
|
|
|
@ -34,10 +34,10 @@ publishing {
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = "jojodev"
|
name = "etztech"
|
||||||
url = "https://mvn.jojodev.com/releases"
|
url = "https://repo.etztech.xyz/releases"
|
||||||
credentials {
|
credentials {
|
||||||
username = "admin"
|
username = "etzelia"
|
||||||
password = System.getenv("MAVEN_PASSWORD")
|
password = System.getenv("MAVEN_PASSWORD")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
Loading…
Reference in New Issue