Compare commits

..

8 commits

Author SHA1 Message Date
69acc16cb1 Only push on master build - if it's working at all.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-04 12:07:33 +02:00
c5c4f3e9a3 Use BASIC instead of token. 2023-09-04 11:45:06 +02:00
0a1a03bc40 Restrict build triggers.
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-09-04 11:36:36 +02:00
3ee514ff7a Tiny changes to path.
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
2023-09-04 11:28:47 +02:00
69d8a5f4ac Change repo name.
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
2023-09-04 11:21:58 +02:00
11b6400ed4 Configure secrets.
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-09-04 11:16:51 +02:00
aa478a5ed9 Update dependencies. 2023-09-04 11:10:57 +02:00
3fce8d4943 Add CI file 2023-09-04 11:10:46 +02:00
3 changed files with 34 additions and 18 deletions

19
.woodpecker.yml Normal file
View 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

View file

@ -7,7 +7,7 @@ plugins {
}
group = "de.pheerai"
version = "0.0.12-SNAPSHOT"
version = "0.0.13-SNAPSHOT"
repositories {
mavenCentral()
@ -52,35 +52,32 @@ publishing {
}
repositories {
maven {
url = uri("https://git.f3l.de/api/v4/projects/160/packages/maven")
name = "GitLab"
credentials(HttpHeaderCredentials::class.java) {
name = "Job-Token"
value = System.getenv("CI_JOB_TOKEN")
}
authentication {
create<HttpHeaderAuthentication>("header")
name = "Gitea"
url = uri("https://git.f3l.de/api/packages/pheerai/maven/")
credentials {
username = "pheerai"
password = System.getenv("CI_JOB_TOKEN")
}
}
}
}
fun MutableVersionConstraint.kotestConstraints() {
prefer("5.5.0")
prefer("5.7.1")
strictly("[5.0.0,6.0.0[")
}
fun MutableVersionConstraint.kotlinxHtmlConstraints() {
prefer("0.8.0")
strictly("[0.8.0,0.9.0[")
prefer("0.9.1")
strictly("[0.9.0,1.0.0[")
}
fun MutableVersionConstraint.jsoupConstraints() {
prefer("1.15.4")
strictly("[1.15.0,1.16.0[")
prefer("1.16.1")
strictly("[1.16.0,1.17.0[")
}
fun MutableVersionConstraint.cliktConstraints() {
prefer("3.5.2")
strictly("[3.0.0,4.0.0[")
prefer("4.2.0")
strictly("[4.0.0,5.0.0[")
}

View file

@ -1,4 +1,4 @@
kotlin.code.style=official
coroutinesVersion=1.6.4
kotlinVersion=1.8.20
coroutinesVersion=1.7.1
kotlinVersion=1.9.0