giteaCi #1
3 changed files with 34 additions and 18 deletions
19
.woodpecker.yml
Normal file
19
.woodpecker.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
image: gradle:jdk17
|
||||||
|
commands:
|
||||||
|
- gradle --build-cache assemble
|
||||||
|
upload:
|
||||||
|
image: gradle:jdk17
|
||||||
|
commands:
|
||||||
|
- gradle publish
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
secrets:
|
||||||
|
- source: maven-repo-token
|
||||||
|
target: ci_job_token
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
|
@ -7,7 +7,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "de.pheerai"
|
group = "de.pheerai"
|
||||||
version = "0.0.12-SNAPSHOT"
|
version = "0.0.13-SNAPSHOT"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -52,35 +52,32 @@ publishing {
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url = uri("https://git.f3l.de/api/v4/projects/160/packages/maven")
|
name = "Gitea"
|
||||||
name = "GitLab"
|
url = uri("https://git.f3l.de/api/packages/pheerai/maven/")
|
||||||
credentials(HttpHeaderCredentials::class.java) {
|
credentials {
|
||||||
name = "Job-Token"
|
username = "pheerai"
|
||||||
value = System.getenv("CI_JOB_TOKEN")
|
password = System.getenv("CI_JOB_TOKEN")
|
||||||
}
|
|
||||||
authentication {
|
|
||||||
create<HttpHeaderAuthentication>("header")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun MutableVersionConstraint.kotestConstraints() {
|
fun MutableVersionConstraint.kotestConstraints() {
|
||||||
prefer("5.5.0")
|
prefer("5.7.1")
|
||||||
strictly("[5.0.0,6.0.0[")
|
strictly("[5.0.0,6.0.0[")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun MutableVersionConstraint.kotlinxHtmlConstraints() {
|
fun MutableVersionConstraint.kotlinxHtmlConstraints() {
|
||||||
prefer("0.8.0")
|
prefer("0.9.1")
|
||||||
strictly("[0.8.0,0.9.0[")
|
strictly("[0.9.0,1.0.0[")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun MutableVersionConstraint.jsoupConstraints() {
|
fun MutableVersionConstraint.jsoupConstraints() {
|
||||||
prefer("1.15.4")
|
prefer("1.16.1")
|
||||||
strictly("[1.15.0,1.16.0[")
|
strictly("[1.16.0,1.17.0[")
|
||||||
}
|
}
|
||||||
|
|
||||||
fun MutableVersionConstraint.cliktConstraints() {
|
fun MutableVersionConstraint.cliktConstraints() {
|
||||||
prefer("3.5.2")
|
prefer("4.2.0")
|
||||||
strictly("[3.0.0,4.0.0[")
|
strictly("[4.0.0,5.0.0[")
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
|
|
||||||
coroutinesVersion=1.6.4
|
coroutinesVersion=1.7.1
|
||||||
kotlinVersion=1.8.20
|
kotlinVersion=1.9.0
|
||||||
|
|
Loading…
Reference in a new issue