@sentry/craft 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.0
4
+
5
+ ### Various fixes & improvements
6
+
7
+ - feat: maven kotlin multiplatform support (#412) by @buenaflor
8
+
3
9
  ## 1.1.1
4
10
 
5
11
  ### Various fixes & improvements
package/README.md CHANGED
@@ -1045,14 +1045,16 @@ Note: in order to see the output of the commands, set the [logging level](#loggi
1045
1045
 
1046
1046
  **Configuration**
1047
1047
 
1048
- | Option | Description |
1049
- | ------------------- | -------------------------------------------------------------------- |
1050
- | `mavenCliPath` | Path to the Maven CLI. It must be executable by the calling process. |
1051
- | `mavenSettingsPath` | Path to the Maven `settings.xml` file. |
1052
- | `mavenRepoId` | ID of the Maven server in the `settings.xml`. |
1053
- | `mavenRepoUrl` | URL of the Maven repository. |
1054
- | `android` | Android configuration, see below. |
1055
-
1048
+ | Option | Description |
1049
+ | --------------------- | -------------------------------------------------------------------- |
1050
+ | `mavenCliPath` | Path to the Maven CLI. It must be executable by the calling process. |
1051
+ | `mavenSettingsPath` | Path to the Maven `settings.xml` file. |
1052
+ | `mavenRepoId` | ID of the Maven server in the `settings.xml`. |
1053
+ | `mavenRepoUrl` | URL of the Maven repository. |
1054
+ | `android` | Android configuration, see below. |
1055
+ | `kmp` | Kotlin Multiplatform configuration, see below. |
1056
+
1057
+ The Kotlin Multiplatform configuration is optional and `false` by default.
1056
1058
  If your project isn't related to Android, you don't need this configuration and
1057
1059
  can set the option to `false`. If not, set the following nested elements:
1058
1060
 
@@ -1087,6 +1089,23 @@ targets:
1087
1089
  fileReplacerStr: release.aar
1088
1090
  ```
1089
1091
 
1092
+ **Example (with Kotlin Multiplatform config)**
1093
+ ```yaml
1094
+ targets:
1095
+ - name: maven
1096
+ mavenCliPath: scripts/mvnw.cmd
1097
+ mavenSettingsPath: scripts/settings.xml
1098
+ mavenRepoId: ossrh
1099
+ mavenRepoUrl: https://oss.sonatype.org/service/local/staging/deploy/maven2/
1100
+ android:
1101
+ distDirRegex: /^sentry-android-.*$/
1102
+ fileReplaceeRegex: /\d\.\d\.\d(-SNAPSHOT)?/
1103
+ fileReplacerStr: release.aar
1104
+ kmp:
1105
+ rootDistDirRegex: /sentry-kotlin-multiplatform-[0-9]+.*$/
1106
+ appleDistDirRegex: /sentry-kotlin-multiplatform-(macos|ios|tvos|watchos).*/
1107
+ ```
1108
+
1090
1109
  ### Symbol Collector (`symbol-collector`)
1091
1110
 
1092
1111
  Using the [`symbol-collector`](https://github.com/getsentry/symbol-collector) client, uploads native symbols.