File tree Expand file tree Collapse file tree 8 files changed +14
-10
lines changed
sentry-kotlin-multiplatform/src/commonJvmMain/kotlin/io/sentry/kotlin/multiplatform Expand file tree Collapse file tree 8 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 44
55### Dependencies
66
7+ - Bump Java SDK from v6.33.1 to v7.0.0 ([ #157 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/157 ) )
8+ - [ changelog] ( https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#700 )
9+ - [ diff] ( https://github.com/getsentry/sentry-java/compare/6.33.1...7.0.0 )
710- Bump Cocoa SDK from v8.4.0 to v8.17.1 ([ #158 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/158 ) )
811 - [ changelog] ( https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8171 )
912 - [ diff] ( https://github.com/getsentry/sentry-cocoa/compare/8.4.0...8.17.1 )
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ object Config {
3232 object Libs {
3333 val kotlinStd = " org.jetbrains.kotlin:kotlin-stdlib"
3434
35- val sentryJavaVersion = " 6.33.1 "
35+ val sentryJavaVersion = " 7.0.0 "
3636 val sentryAndroid = " io.sentry:sentry-android:$sentryJavaVersion "
3737 val sentryJava = " io.sentry:sentry:$sentryJavaVersion "
3838
@@ -67,7 +67,7 @@ object Config {
6767 object Android {
6868 private val sdkVersion = 33
6969
70- val minSdkVersion = 16
70+ val minSdkVersion = 19
7171 val targetSdkVersion = sdkVersion
7272 val compileSdkVersion = sdkVersion
7373 }
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import io.sentry.kotlin.multiplatform.extensions.toKmpUser
88import io.sentry.kotlin.multiplatform.protocol.Breadcrumb
99import io.sentry.kotlin.multiplatform.protocol.User
1010
11- internal class JvmScopeProvider (private val scope : JvmScope ) : Scope {
11+ internal class JvmScopeProvider (private val scope : JvmIScope ) : Scope {
1212
1313 override var level: SentryLevel ?
1414 set(value) {
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ internal actual object SentryBridge {
6161 Sentry .close()
6262 }
6363
64- private fun configureScopeCallback (scopeCallback : ScopeCallback ): (JvmScope ) -> Unit {
64+ private fun configureScopeCallback (scopeCallback : ScopeCallback ): (JvmIScope ) -> Unit {
6565 return {
6666 val jvmScopeProvider = JvmScopeProvider (it)
6767 scopeCallback.invoke(jvmScopeProvider)
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package io.sentry.kotlin.multiplatform
22
33import io.sentry.Attachment
44import io.sentry.Breadcrumb
5+ import io.sentry.IScope
56import io.sentry.Scope
67import io.sentry.SentryEvent
78import io.sentry.SentryLevel
@@ -16,6 +17,7 @@ import io.sentry.protocol.User
1617internal typealias JvmSentryLevel = SentryLevel
1718internal typealias JvmUser = User
1819internal typealias JvmScope = Scope
20+ internal typealias JvmIScope = IScope
1921internal typealias JvmBreadcrumb = Breadcrumb
2022internal typealias JvmSentryId = SentryId
2123internal typealias JvmSentryOptions = SentryOptions
Original file line number Diff line number Diff line change 11plugins {
22 id(" com.android.application" )
33 kotlin(" android" )
4- id(" io.sentry.android.gradle" ) version " 3.5 .0"
4+ id(" io.sentry.android.gradle" ) version " 4.0 .0"
55}
66
77android {
@@ -32,7 +32,7 @@ android {
3232}
3333
3434dependencies {
35- implementation(rootProject.project(" :sentry-samples:kmp-app-spm :shared" ))
35+ implementation(rootProject.project(" :sentry-samples:kmp-app-cocoapods :shared" ))
3636 implementation(" com.google.android.material:material:1.6.1" )
3737 implementation(" androidx.appcompat:appcompat:1.4.2" )
3838 implementation(" androidx.constraintlayout:constraintlayout:2.1.4" )
Original file line number Diff line number Diff line change @@ -46,10 +46,9 @@ kotlin {
4646}
4747
4848android {
49- compileSdk = 32
49+ compileSdk = Config . Android .compileSdkVersion
5050 sourceSets[" main" ].manifest.srcFile(" src/androidMain/AndroidManifest.xml" )
5151 defaultConfig {
52- minSdk = 27
53- targetSdk = 32
52+ minSdk = Config .Android .minSdkVersion
5453 }
5554}
Original file line number Diff line number Diff line change 11plugins {
22 id(" com.android.application" )
33 kotlin(" android" )
4- id(" io.sentry.android.gradle" ) version " 3.5 .0"
4+ id(" io.sentry.android.gradle" ) version " 4.0 .0"
55}
66
77android {
You can’t perform that action at this time.
0 commit comments