Skip to content

Commit

Permalink
upgrade dependencies. add new dual publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Oct 25, 2024
1 parent a07202c commit 4f3c7e5
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 16 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/upload_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Publish Artifacts
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
jobs:
ReleaseMC:
Release:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -22,16 +22,18 @@ jobs:
cache: gradle
- name: Upload to Sonatype
run: |
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository \
-Psign=true \
-PreleaseVersion="${{ steps.tagName.outputs.tag }}" \
-PsigningKey="${{ secrets.SIGNING_KEY }}" \
-PsigningPassword="${{ secrets.SIGNING_PASSWORD }}" \
-PnexusUsername="${{ secrets.NEXUS_USERNAME }}" \
-PnexusPassword="${{ secrets.NEXUS_PASSWORD }}"
./gradlew publish publishToSonatype closeAndReleaseSonatypeStagingRepository \
-Psign=true \
-PreleaseVersion="${{ steps.tagName.outputs.tag }}" \
-PsigningKey="${{ secrets.SIGNING_KEY }}" \
-PsigningPassword="${{ secrets.SIGNING_PASSWORD }}" \
-PltsUsername="${{ secrets.LTS_USERNAME }}" \
-PltsPassword="${{ secrets.LTS_PASSWORD }}" \
-PnexusUsername="${{ secrets.NEXUS_USERNAME }}" \
-PnexusPassword="${{ secrets.NEXUS_PASSWORD }}"
broadcast-release:
needs:
- ReleaseMC
- Release
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
This list is not intended to be all-encompassing - it will document major and breaking API
changes with their rationale when appropriate. Given version `A.B.C.D`, breaking changes are to be expected in version number increments where changes in the `A` or `B` sections:

### v5.25.1.0 (uncut)
- **http4k-connect-*** - Upgrade dependencies

### v5.25.0.0
- **http4k-connect-*** - Upgrade dependencies
- **http4k-connect*** : [Unlikely break] Tightened up nullable types and data class constructor visibility on various APIs
Expand Down
15 changes: 15 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import groovy.util.Node
import org.gradle.api.JavaVersion.VERSION_1_8
import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_1_8
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
import java.net.URI
import java.time.Duration

plugins {
Expand Down Expand Up @@ -238,6 +239,20 @@ subprojects {
}

publishing {
repositories {
maven {
url = URI("s3://http4k-lts/maven2")

val ltsUsername: String? by project
val ltsPassword: String? by project

credentials(AwsCredentials::class.java) {
accessKey = ltsUsername
secretKey = ltsPassword
}
}
}

val javaComponent = components["java"] as AdhocComponentWithVariants

javaComponent.withVariantsFromConfiguration(configurations["testFixturesApiElements"]) { skip() }
Expand Down
17 changes: 10 additions & 7 deletions versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ version.dev.forkhandles..forkhandles-bom=2.20.0.0

version.dev.langchain4j..langchain4j=0.35.0

version.http4k=5.32.3.0
version.http4k=5.33.0.0

version.joda-time..joda-time=2.13.0

Expand Down Expand Up @@ -60,17 +60,19 @@ version.jetbrains.exposed=0.41.1

version.org.apache.avro..avro=1.12.0

version.junit=5.11.2
version.junit=5.11.3

version.junit.jupiter=5.11.2
version.junit.jupiter=5.11.3

# blocked - Java 11 (via KSP) - 2.0.20
version.kotlin=2.0.20

version.org.bitbucket.b_c..jose4j=0.9.6

version.org.bouncycastle..bcprov-jdk18on=1.78.1

version.kotlinpoet=1.18.1
## # available=2.0.0

# blocked - Java 8 - 1.13.8
version.mockk=1.13.7
Expand All @@ -79,21 +81,22 @@ version.mockk=1.13.7
### available=1.13.10
### available=1.13.11
### available=1.13.12
### available=1.13.13

version.org.testcontainers..testcontainers-bom=1.20.2
version.org.testcontainers..testcontainers-bom=1.20.3

version.org.webjars..swagger-ui=5.17.14

version.se.ansman.kotshi..api=3.0.0

version.se.ansman.kotshi..compiler=3.0.0

version.software.amazon.awssdk..bom=2.28.16
version.software.amazon.awssdk..bom=2.29.0

version.com.nimbusds..nimbus-jose-jwt=9.41.2

version.dev.langchain4j..langchain4j-core=0.35.0

version.software.amazon.awssdk..s3=2.28.16
version.software.amazon.awssdk..s3=2.29.0

version.software.amazon.awssdk..sqs=2.28.16
version.software.amazon.awssdk..sqs=2.29.0

0 comments on commit 4f3c7e5

Please sign in to comment.