File tree Expand file tree Collapse file tree 7 files changed +9
-10
lines changed
Expand file tree Collapse file tree 7 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 55* Feat: Use float instead of Date for protocol types for higher precision (#1737 )
66* Ref: Bind external properties to a dedicated class. (#1750 )
77* Ref: Debug log serializable objects (#1795 )
8+ * Ref: catch Throwable instead of Exception to suppress internal SDK errors (#1812 )
89
910Breaking changes:
1011
@@ -25,8 +26,7 @@ Breaking changes:
2526 * Call ` toString() ` where object graphs exceed max depth.
2627 * Remove ` gson ` dependency.
2728 * Remove ` IUnknownPropertiesConsumer `
28-
29- * Ref: catch Throwable instead of Exception to suppress internal SDK errors (#1812 )
29+ * Bump: Kotlin to 1.5 and compatibility to 1.4 for sentry-android-timber (#1815 )
3030
3131## 5.4.1
3232
Original file line number Diff line number Diff line change 11import java.math.BigDecimal
22
33object Config {
4- val kotlinVersion = " 1.4.32 "
4+ val kotlinVersion = " 1.5.31 "
55 val kotlinStdLib = " stdlib-jdk8"
66
77 val springBootVersion = " 2.4.4"
88 // Spring is currently not compatible with Kotlin 1.4
99 val springKotlinCompatibleLanguageVersion = " 1.3"
10+ val kotlinCompatibleLanguageVersion = " 1.4"
1011
1112 object BuildPlugins {
1213 val androidGradle = " com.android.tools.build:gradle:7.0.3"
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ android {
3030
3131 kotlinOptions {
3232 jvmTarget = JavaVersion .VERSION_1_8 .toString()
33+ kotlinOptions.languageVersion = Config .kotlinCompatibleLanguageVersion
3334 }
3435
3536 testOptions {
Original file line number Diff line number Diff line change 11import io.gitlab.arturbosch.detekt.Detekt
22import io.gitlab.arturbosch.detekt.extensions.DetektExtension
33import org.jetbrains.kotlin.config.KotlinCompilerVersion
4- import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
54
65plugins {
76 id(" com.android.library" )
@@ -34,6 +33,7 @@ android {
3433
3534 kotlinOptions {
3635 jvmTarget = JavaVersion .VERSION_1_8 .toString()
36+ kotlinOptions.languageVersion = Config .kotlinCompatibleLanguageVersion
3737 }
3838
3939 testOptions {
@@ -69,11 +69,6 @@ kotlin {
6969 explicitApi()
7070}
7171
72- tasks.withType<KotlinCompile >().configureEach {
73- // Timber uses Kotlin 1.2
74- kotlinOptions.languageVersion = " 1.2"
75- }
76-
7772dependencies {
7873 api(projects.sentry)
7974
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ configure<JavaPluginExtension> {
1717
1818tasks.withType<KotlinCompile >().configureEach {
1919 kotlinOptions.jvmTarget = JavaVersion .VERSION_1_8 .toString()
20+ kotlinOptions.languageVersion = Config .kotlinCompatibleLanguageVersion
2021}
2122
2223dependencies {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ configure<JavaPluginExtension> {
1616
1717tasks.withType<KotlinCompile >().configureEach {
1818 kotlinOptions.jvmTarget = JavaVersion .VERSION_1_8 .toString()
19- kotlinOptions.languageVersion = Config .springKotlinCompatibleLanguageVersion
19+ kotlinOptions.languageVersion = Config .kotlinCompatibleLanguageVersion
2020}
2121
2222dependencies {
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ configure<JavaPluginExtension> {
1818
1919tasks.withType<KotlinCompile >().configureEach {
2020 kotlinOptions.jvmTarget = JavaVersion .VERSION_1_8 .toString()
21+ kotlinOptions.languageVersion = Config .kotlinCompatibleLanguageVersion
2122}
2223
2324dependencies {
You can’t perform that action at this time.
0 commit comments