Compare commits

..

1 commit

Author SHA1 Message Date
fefcf78ff6 chore(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.4.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-18 17:35:49 +00:00
3 changed files with 42 additions and 34 deletions

41
.drone.yml Normal file
View file

@ -0,0 +1,41 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: "Build"
image: "eclipse-temurin:17-jdk"
commands:
- "./gradlew assemble"
- name: "Test"
image: "eclipse-temurin:17-jdk"
commands:
- "./gradlew test"
- name: "Create Release"
image: plugins/gitea-release
settings:
api_key:
from_secret: "gitea_api_key"
base_url:
from_secret: "gitea_base_url"
files: build/libs/DLib-*.jar
when:
event:
- tag
- name: "Publish to Maven"
image: "eclipse-temurin:17-jdk"
commands:
- "./gradlew publishReleasePublicationToMavenRepository"
environment:
MAVEN_REPO_URL:
from_secret: maven_repo_url
MAVEN_REPO_TOKEN:
from_secret: gitea_api_key
when:
event:
- tag
trigger:
event:
- push
- tag

View file

@ -1,33 +0,0 @@
pipeline:
build:
image: "eclipse-temurin:17-jdk"
commands:
- "./gradlew assemble"
test:
image: "eclipse-temurin:17-jdk"
commands:
- "./gradlew test"
release:
image: plugins/gitea-release
settings:
api_key:
from_secret: "gitea_api_key"
base_url:
from_secret: "gitea_base_url"
files: build/libs/DLib-*.jar
when:
event:
- tag
maven:
image: "eclipse-temurin:17-jdk"
commands:
- "./gradlew publishReleasePublicationToMavenRepository"
environment:
MAVEN_REPO_URL:
from_secret: maven_repo_url
MAVEN_REPO_TOKEN:
from_secret: gitea_api_key
when:
event:
- tag

View file

@ -19,7 +19,7 @@ dependencies {
paperDevBundle("1.19-R0.1-SNAPSHOT") paperDevBundle("1.19-R0.1-SNAPSHOT")
implementation(kotlin("reflect")) implementation(kotlin("reflect"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1") implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3")
implementation("org.jetbrains.kotlin:kotlin-scripting-common") implementation("org.jetbrains.kotlin:kotlin-scripting-common")
implementation("org.jetbrains.kotlin:kotlin-scripting-jvm") implementation("org.jetbrains.kotlin:kotlin-scripting-jvm")