Skip to content

Commit 5d0f072

Browse files
authored
Merge pull request #21 from icerockdev/20-add-iossimulatorarm64-target
#20 add iosSimulatorArm64 support
2 parents 1730cb8 + b23901e commit 5d0f072

File tree

28 files changed

+171
-337
lines changed

28 files changed

+171
-337
lines changed

MCRCStaticReporter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Pod::Spec.new do |spec|
1212
spec.swift_version = '5'
1313
spec.static_framework = true
1414

15-
spec.dependency 'FirebaseCrashlytics', '~> 7.3'
15+
spec.dependency 'FirebaseCrashlytics', '~> 8.2'
1616
spec.dependency 'MCRCDynamicProxy'
1717

1818
spec.source_files = "crash-reporting-crashlytics/src/iosMain/swift/StaticReporter/**/*.{h,m,swift}"

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,14 @@ root build.gradle
3030
allprojects {
3131
repositories {
3232
mavenCentral()
33-
jcenter() // for Napier dependency
3433
}
3534
}
3635
```
3736
project build.gradle
3837
```groovy
3938
dependencies {
40-
commonMainImplementation("dev.icerock.moko:crash-reporting-crashlytics:2.1.0") // for CrashlyticsLogger
41-
commonMainImplementation("dev.icerock.moko:crash-reporting-napier:2.1.0") // for CrashReportingAntilog
42-
commonMainImplementation("io.github.aakira:napier:1.5.0") // for CrashReportingAntilog
39+
commonMainImplementation("dev.icerock.moko:crash-reporting-crashlytics:0.3.0") // for CrashlyticsLogger
40+
commonMainImplementation("dev.icerock.moko:crash-reporting-napier:0.3.0") // for CrashReportingAntilog
4341
}
4442
```
4543
For CrashlyticsLogger need to add FirebaseCrashlytics cocoapod
@@ -54,8 +52,8 @@ cocoaPods {
5452
```
5553
project Podfile
5654
```ruby
57-
pod 'MCRCDynamicProxy', :git => 'https://github.com/icerockdev/moko-crash-reporting.git', :tag => 'release/0.2.1'
58-
pod 'MCRCStaticReporter', :git => 'https://github.com/icerockdev/moko-crash-reporting.git', :tag => 'release/0.2.1'
55+
pod 'MCRCDynamicProxy', :git => 'https://github.com/icerockdev/moko-crash-reporting.git', :tag => 'release/0.3.0'
56+
pod 'MCRCStaticReporter', :git => 'https://github.com/icerockdev/moko-crash-reporting.git', :tag => 'release/0.3.0'
5957
```
6058

6159
On iOS side add to `AppDelegate`:

build.gradle.kts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,24 @@ buildscript {
77
mavenCentral()
88
google()
99
gradlePluginPortal()
10-
jcenter()
1110
}
1211

1312
dependencies {
14-
classpath("com.google.gms:google-services:4.3.8")
15-
classpath("com.google.firebase:firebase-crashlytics-gradle:2.2.0")
16-
17-
classpath(":crash-reporting-build-logic")
13+
classpath(libs.kotlinGradlePlugin)
14+
classpath(libs.androidGradlePlugin)
15+
classpath(libs.googleServicesGradlePlugin)
16+
classpath(libs.firebaseGradlePlugin)
17+
classpath(libs.mokoGradlePlugin)
18+
classpath(libs.mobileMultiplatformGradlePlugin)
1819
}
1920
}
2021

22+
apply(plugin = "dev.icerock.moko.gradle.publication.nexus")
23+
24+
val mokoVersion = libs.versions.mokoCrashReportingVersion.get()
2125
allprojects {
22-
plugins.withId("org.gradle.maven-publish") {
23-
group = "dev.icerock.moko"
24-
version = libs.versions.mokoCrashReportingVersion.get()
25-
}
26+
this.group = "dev.icerock.moko"
27+
this.version = mokoVersion
2628
}
2729

2830
tasks.register("clean", Delete::class).configure {

crash-reporting-build-logic/build.gradle.kts

Lines changed: 0 additions & 17 deletions
This file was deleted.

crash-reporting-build-logic/src/main/kotlin/android-app-convention.gradle.kts

Lines changed: 0 additions & 32 deletions
This file was deleted.

crash-reporting-build-logic/src/main/kotlin/android-base-convention.gradle.kts

Lines changed: 0 additions & 14 deletions
This file was deleted.

crash-reporting-build-logic/src/main/kotlin/android-library-convention.gradle.kts

Lines changed: 0 additions & 13 deletions
This file was deleted.

crash-reporting-build-logic/src/main/kotlin/android-publication-convention.gradle.kts

Lines changed: 0 additions & 15 deletions
This file was deleted.

crash-reporting-build-logic/src/main/kotlin/detekt-convention.gradle.kts

Lines changed: 0 additions & 15 deletions
This file was deleted.

crash-reporting-build-logic/src/main/kotlin/javadoc-stub-convention.gradle.kts

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)