Skip to content

Commit 4b64bbe

Browse files
committed
Oppdatere grpc versjoner og java versjon i jitpack - har ikke blitt bygget siden sist bibliotekbump.
- Vi må vurdere grpc bruken i fremtiden.
1 parent dfc14ad commit 4b64bbe

File tree

8 files changed

+26
-16
lines changed

8 files changed

+26
-16
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ allprojects {
3939
}
4040

4141
tasks.withType<Wrapper> {
42-
gradleVersion = "6.5.1"
42+
gradleVersion = "7.5.1"
4343
}
4444

4545
spotless {

dp-inntekt-api/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ dependencies {
4242
implementation(Ktor2.Server.library("metrics-micrometer"))
4343
implementation(Ktor2.Server.library("metrics-micrometer"))
4444

45-
// implementation(Dagpenger.Biblioteker.ktorUtils)
4645
implementation(Micrometer.prometheusRegistry)
4746

4847
implementation(Graphql.client)

dp-inntekt-api/src/test/kotlin/no/nav/dagpenger/inntekt/subsumsjonbrukt/KafkaSubsumsjonBruktDataConsumerTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ private val LOGGER = KotlinLogging.logger { }
3333
internal class KafkaSubsumsjonBruktDataConsumerTest {
3434
private object Kafka {
3535
val instance by lazy {
36-
KafkaContainer(DockerImageName.parse("confluentinc/cp-kafka").withTag("5.3.1")).apply {
36+
KafkaContainer(DockerImageName.parse("confluentinc/cp-kafka").withTag("6.1.9")).apply {
3737
this.waitingFor(HostPortWaitStrategy())
3838
this.start()
3939
}

dp-inntekt-grpc/build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import com.google.protobuf.gradle.* // ktlint-disable no-wildcard-imports
22

3-
val grpcVersion = "1.43.0"
4-
val grpcKotlinVersion = "1.1.0"
5-
val protbufVersion = "3.17.3"
6-
val protobufGradleVersion = "0.8.16"
3+
val grpcVersion = "1.51.1"
4+
val grpcKotlinVersion = "1.3.0"
5+
val protbufVersion = "3.21.12"
6+
val protobufGradleVersion = "0.9.2"
77

88
plugins {
99
kotlin("jvm")
10-
id("com.google.protobuf") version "0.8.16"
10+
id("com.google.protobuf") version "0.9.2"
1111
}
1212

1313
apply(plugin = "com.google.protobuf")
@@ -68,7 +68,7 @@ protobuf {
6868
artifact = "io.grpc:protoc-gen-grpc-java:$grpcVersion"
6969
}
7070
id("grpckotlin") {
71-
artifact = "io.grpc:protoc-gen-grpc-kotlin:$grpcKotlinVersion:jdk7@jar"
71+
artifact = "io.grpc:protoc-gen-grpc-kotlin:$grpcKotlinVersion:jdk8@jar"
7272
}
7373
}
7474

gradle/wrapper/gradle-wrapper.jar

1.19 KB
Binary file not shown.

gradlew

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,12 @@ set -- \
205205
org.gradle.wrapper.GradleWrapperMain \
206206
"$@"
207207

208+
# Stop when "xargs" is not available.
209+
if ! command -v xargs >/dev/null 2>&1
210+
then
211+
die "xargs is not available"
212+
fi
213+
208214
# Use "xargs" to parse quoted args.
209215
#
210216
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.

gradlew.bat

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@rem limitations under the License.
1515
@rem
1616

17-
@if "%DEBUG%" == "" @echo off
17+
@if "%DEBUG%"=="" @echo off
1818
@rem ##########################################################################
1919
@rem
2020
@rem Gradle startup script for Windows
@@ -25,7 +25,7 @@
2525
if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
28-
if "%DIRNAME%" == "" set DIRNAME=.
28+
if "%DIRNAME%"=="" set DIRNAME=.
2929
set APP_BASE_NAME=%~n0
3030
set APP_HOME=%DIRNAME%
3131

@@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
4040

4141
set JAVA_EXE=java.exe
4242
%JAVA_EXE% -version >NUL 2>&1
43-
if "%ERRORLEVEL%" == "0" goto execute
43+
if %ERRORLEVEL% equ 0 goto execute
4444

4545
echo.
4646
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -75,13 +75,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
7575

7676
:end
7777
@rem End local scope for the variables with windows NT shell
78-
if "%ERRORLEVEL%"=="0" goto mainEnd
78+
if %ERRORLEVEL% equ 0 goto mainEnd
7979

8080
:fail
8181
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
8282
rem the _cmd.exe /c_ return code!
83-
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84-
exit /b 1
83+
set EXIT_CODE=%ERRORLEVEL%
84+
if %EXIT_CODE% equ 0 set EXIT_CODE=1
85+
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
86+
exit /b %EXIT_CODE%
8587

8688
:mainEnd
8789
if "%OS%"=="Windows_NT" endlocal

jitpack.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
jdk:
2-
- openjdk13
2+
- openjdk17
3+
before_install:
4+
- sdk install java 17.0.5-open
5+
- sdk use java 17.0.5-open

0 commit comments

Comments
 (0)