Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #407 from zalando-nakadi/feature/upgrade-to-spring3
Browse files Browse the repository at this point in the history
Upgrade Spring dependencies and jdk target
  • Loading branch information
MALPI authored Aug 1, 2023
2 parents b436d89 + bd027fa commit 60cb173
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
4 changes: 0 additions & 4 deletions fahrschein-http-jdk11/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,4 @@ dependencies {
testImplementation(testFixtures(project(':fahrschein-http-test-support')))
}

tasks.withType(JavaCompile).configureEach {
options.release = Math.max(Integer.valueOf(project.property("jdk.version")), 11)
}

publishing.publications.maven.pom.description = "Fahrschein HTTP Client using JDK11's HttpClient"
1 change: 1 addition & 0 deletions fahrschein-http-spring/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ dependencies {
}

publishing.publications.maven.pom.description = 'Fahrschein HTTP Client using Spring Adapter'

6 changes: 2 additions & 4 deletions fahrschein-spring-boot-starter/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
plugins {
id 'fahrschein.java-conventions'
id 'fahrschein.maven-publishing-conventions'
id 'org.springframework.boot' version '2.6.6' apply false
id 'io.spring.dependency-management' version '1.0.11.RELEASE' apply false
}

def lombok_version = '1.18.28'
Expand All @@ -15,11 +13,11 @@ dependencies {
implementation "com.fasterxml.jackson.module:jackson-module-parameter-names:${property('jackson.version')}"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${property('jackson.version')}"
implementation 'com.google.guava:guava:31.0.1-jre'
compileOnly "org.springframework.boot:spring-boot-configuration-processor:${property('springboot.version')}"
compileOnlyApi "org.springframework.boot:spring-boot-configuration-processor:${property('springboot.version')}"
compileOnly 'io.micrometer:micrometer-core:1.8.4'
compileOnly "org.projectlombok:lombok:${lombok_version}"
annotationProcessor "org.projectlombok:lombok:${lombok_version}"
compileOnly "org.springframework.boot:spring-boot-autoconfigure:${property('springboot.version')}"
compileOnlyApi "org.springframework.boot:spring-boot-autoconfigure:${property('springboot.version')}"
testAnnotationProcessor "org.projectlombok:lombok:${lombok_version}"
testImplementation 'io.micrometer:micrometer-core:1.8.4'
testImplementation "org.projectlombok:lombok:${lombok_version}"
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## project version
project.version=1.0.0
project.version=2.0.0-RC1

## dependency versions
jackson.version=2.14.1
jackson_databind.version=2.14.1
slf4j.version=1.7.25
spring.version=5.3.20
springboot.version=2.6.6
springboot.version=3.1.1
mockito.version=4.9.0
junit.version=5.9.1
testcontainers.version=1.17.6
Expand All @@ -16,4 +16,4 @@ opentelemetry.version=1.20.1
opentracing.version=0.33.0

## target JDK release version
jdk.version=8
jdk.version=17

0 comments on commit 60cb173

Please sign in to comment.