Skip to content

Commit

Permalink
Upgrade Spring Boot dependency to 2.5.13 (#2011)
Browse files Browse the repository at this point in the history
Fixes #2010
  • Loading branch information
maciejwalkowiak authored Apr 27, 2022
1 parent 2aa0338 commit 875f4c9
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Starting with version `6.6.0` of the `sentry`, [Sentry's version >= v21.9.0](htt

* Fix: Profiling rate decreased from 300hz to 100hz; fixed profiling traces folder creation on manual sdk init (#1997)
* Fix: Allow disabling sending of client reports via Android Manifest and external options (#2007)
* Ref: Upgrade Spring Boot dependency to 2.5.13 (#2011)

## 6.0.0-alpha.6

Expand Down
4 changes: 1 addition & 3 deletions buildSrc/src/main/java/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ object Config {
val kotlinVersion = "1.5.31"
val kotlinStdLib = "stdlib-jdk8"

val springBootVersion = "2.4.4"
// Spring is currently not compatible with Kotlin 1.4
val springKotlinCompatibleLanguageVersion = "1.3"
val springBootVersion = "2.5.13"
val kotlinCompatibleLanguageVersion = "1.4"

object BuildPlugins {
Expand Down
2 changes: 1 addition & 1 deletion sentry-apache-http-client-5/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ configure<JavaPluginExtension> {

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
kotlinOptions.languageVersion = Config.springKotlinCompatibleLanguageVersion
kotlinOptions.languageVersion = Config.kotlinCompatibleLanguageVersion
}

dependencies {
Expand Down
6 changes: 3 additions & 3 deletions sentry-servlet-jakarta/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ configure<JavaPluginExtension> {

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
kotlinOptions.languageVersion = Config.springKotlinCompatibleLanguageVersion
kotlinOptions.languageVersion = Config.kotlinCompatibleLanguageVersion
}

dependencies {
Expand Down Expand Up @@ -82,12 +82,12 @@ repositories {
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
languageVersion = Config.springKotlinCompatibleLanguageVersion
languageVersion = Config.kotlinCompatibleLanguageVersion
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
languageVersion = Config.springKotlinCompatibleLanguageVersion
languageVersion = Config.kotlinCompatibleLanguageVersion
}

tasks.withType<JavaCompile>().configureEach {
Expand Down
6 changes: 3 additions & 3 deletions sentry-servlet/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ configure<JavaPluginExtension> {

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
kotlinOptions.languageVersion = Config.springKotlinCompatibleLanguageVersion
kotlinOptions.languageVersion = Config.kotlinCompatibleLanguageVersion
}

dependencies {
Expand Down Expand Up @@ -83,12 +83,12 @@ repositories {
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
languageVersion = Config.springKotlinCompatibleLanguageVersion
languageVersion = Config.kotlinCompatibleLanguageVersion
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
languageVersion = Config.springKotlinCompatibleLanguageVersion
languageVersion = Config.kotlinCompatibleLanguageVersion
}

tasks.withType<JavaCompile>().configureEach {
Expand Down
2 changes: 1 addition & 1 deletion sentry-spring-boot-starter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ configure<JavaPluginExtension> {

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
kotlinOptions.languageVersion = Config.springKotlinCompatibleLanguageVersion
kotlinOptions.languageVersion = Config.kotlinCompatibleLanguageVersion
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion sentry-spring/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ configure<JavaPluginExtension> {

tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
kotlinOptions.languageVersion = Config.springKotlinCompatibleLanguageVersion
kotlinOptions.languageVersion = Config.kotlinCompatibleLanguageVersion
}

dependencies {
Expand Down

0 comments on commit 875f4c9

Please sign in to comment.