Update java/kotlin (#611)
This commit is contained in:
4
.github/workflows/publish.yaml
vendored
4
.github/workflows/publish.yaml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 20
|
||||
java-version: 21
|
||||
- name: Setup gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
- name: Upload to Docker
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 20
|
||||
java-version: 21
|
||||
- name: Setup gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
- name: Build zip
|
||||
|
||||
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 20
|
||||
java-version: 21
|
||||
|
||||
- name: Install System Libs
|
||||
run: sudo apt-get install -y openssl libapr1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
FROM eclipse-temurin:20
|
||||
FROM eclipse-temurin:21
|
||||
|
||||
RUN apt-get update -y && apt-get install -y libcurl4-openssl-dev libcjson-dev
|
||||
|
||||
@@ -36,8 +36,8 @@ group = 'io.emeraldpay.dshackle'
|
||||
version = getVersion()
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_20
|
||||
targetCompatibility = JavaVersion.VERSION_20
|
||||
sourceCompatibility = JavaVersion.VERSION_21
|
||||
targetCompatibility = JavaVersion.VERSION_21
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -119,6 +119,7 @@ dependencies {
|
||||
|
||||
implementation(variantOf(libs.netty.tcnative.boringssl) { classifier("osx-aarch_64") })
|
||||
implementation(variantOf(libs.netty.tcnative.boringssl) { classifier("linux-x86_64") })
|
||||
implementation(variantOf(libs.netty.tcnative.boringssl) { classifier("linux-aarch_64") })
|
||||
implementation(variantOf(libs.netty.tcnative.boringssl) { classifier("osx-x86_64") })
|
||||
implementation 'dshackle:foundation:1.0.0'
|
||||
|
||||
@@ -132,10 +133,10 @@ tasks.withType(Test) { jvmArgs += "--enable-preview" }
|
||||
tasks.withType(JavaExec) { jvmArgs += "--enable-preview" }
|
||||
|
||||
compileKotlin {
|
||||
compilerOptions.jvmTarget.set(JvmTarget.JVM_20)
|
||||
compilerOptions.jvmTarget.set(JvmTarget.JVM_21)
|
||||
}
|
||||
compileTestKotlin {
|
||||
compilerOptions.jvmTarget.set(JvmTarget.JVM_20)
|
||||
compilerOptions.jvmTarget.set(JvmTarget.JVM_21)
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.9.10'
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.9.25'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
||||
@@ -8,9 +8,9 @@ reactive-grpc = "1.2.0"
|
||||
spring-boot = "2.6.15"
|
||||
spring-security = "5.5.3"
|
||||
reactor = "3.4.32"
|
||||
netty = "4.1.97.Final"
|
||||
netty-tcnative = "2.0.61.Final"
|
||||
kotlin = "1.9.10"
|
||||
netty = "4.1.113.Final"
|
||||
netty-tcnative = "2.0.66.Final"
|
||||
kotlin = "1.9.25"
|
||||
httpcomponents = "4.5.8"
|
||||
|
||||
[libraries]
|
||||
|
||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
||||
Reference in New Issue
Block a user