Skip to content

Commit 6324ba3

Browse files
committed
update dependencies
1 parent bdd5344 commit 6324ba3

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

‎.github/workflows/publish_on_tag.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Release with gradle
3838
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021
3939
with:
40-
arguments: --no-daemon -i jreleaserFullRelease
40+
arguments: --no-daemon --stacktrace -i jreleaserFullRelease
4141
env:
4242
JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }}
4343
JRELEASER_GPG_PASSPHRASE: ${{ secrets.JRELEASER_GPG_PASSPHRASE }}

‎build.gradle.kts‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import org.jreleaser.model.Active
33
import org.jreleaser.model.Http
44

55
plugins {
6-
kotlin("jvm").version("2.2.10")
6+
kotlin("jvm").version("2.3.10")
77
`java-library`
88
`maven-publish`
9-
id("org.jreleaser") version "1.19.0"
9+
id("org.jreleaser") version "1.23.0"
1010
}
1111

1212
group = "io.github.froks"
13-
version = "0.4.1"
13+
version = "0.4.3"
1414

1515
repositories {
1616
mavenLocal()
@@ -26,7 +26,7 @@ kotlin {
2626
jvmToolchain(21)
2727
explicitApi()
2828
compilerOptions {
29-
jvmTarget = JvmTarget.JVM_1_8
29+
jvmTarget = JvmTarget.JVM_21
3030
}
3131
}
3232

@@ -36,13 +36,13 @@ java {
3636
}
3737

3838
tasks.withType<JavaCompile>().configureEach {
39-
targetCompatibility = "1.8"
40-
sourceCompatibility = "1.8"
39+
targetCompatibility = "21"
40+
sourceCompatibility = "21"
4141
}
4242

4343
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
4444
compilerOptions {
45-
jvmTarget.set(JvmTarget.JVM_1_8)
45+
jvmTarget.set(JvmTarget.JVM_21)
4646
freeCompilerArgs.add("-opt-in=kotlin.RequiresOptIn")
4747
}
4848
}
@@ -100,9 +100,10 @@ jreleaser {
100100
maven {
101101
mavenCentral.create("sonatype") {
102102
active = Active.ALWAYS
103-
username = System.getenv("JRELEASER_MAVENCENTRAL_USERNAME")
104103
url = "https://central.sonatype.com/api/v1/publisher"
105104
authorization = Http.Authorization.BEARER
105+
username = System.getenv("JRELEASER_MAVENCENTRAL_USERNAME")
106+
password = System.getenv("JRELEASER_MAVENCENTRAL_PASSWORD")
106107
stagingRepository(layout.buildDirectory.dir("staging-deploy").get().toString())
107108
}
108109
}

0 commit comments

Comments
 (0)