Skip to content

Commit b96fead

Browse files
committed
Remove Sentry integration and update dependencies
Eliminated `SentryErrorReporter` and its related integrations. Updated plugin dependencies to maintain compatibility, including downgrading `kotlinx-serialization` to 1.6.3, updating Kotlin to 1.9.25, and adjusting the IntelliJ platform version to 2.7.0. These changes streamline the codebase by removing unused functionality and ensuring support for the latest platform and library versions.
1 parent ef17b47 commit b96fead

File tree

10 files changed

+16
-129
lines changed

10 files changed

+16
-129
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,4 @@ fabric.properties
104104
.idea/csv-plugin.xml
105105
token.txt
106106
.intellijPlatform
107+
.idea/ruff.xml

.idea/modules/prettify-python.main.iml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules/prettify-python.test.iml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ repositories {
1313

1414
plugins {
1515
java
16-
// https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#kotlin-standard-library
1716
alias(libs.plugins.kotlin)
1817
alias(libs.plugins.intelliJPlatform)
1918
alias(libs.plugins.kotlinSerialization)
@@ -24,7 +23,6 @@ version = config("version")
2423

2524
dependencies {
2625
implementation(libs.kotlinxSerialization)
27-
implementation(libs.sentry)
2826
testImplementation(libs.junit)
2927

3028
intellijPlatform {
@@ -38,7 +36,6 @@ dependencies {
3836
bundledPlugins(platformBundledPlugins)
3937
}
4038

41-
instrumentationTools()
4239
pluginVerifier()
4340
zipSigner()
4441
testFramework(TestFrameworkType.Platform)

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Gradle
2-
gradleVersion=8.11.1
2+
gradleVersion=8.14.3
33
org.gradle.parallel=true
44
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
55
org.gradle.configuration-cache=true
@@ -12,14 +12,14 @@ jvmVersion=17
1212
group=dev.meanmail
1313
repository=https://github.com/meanmail-dev/prettify-python-plugin
1414
pluginName=Prettify python
15-
version=2024.1
15+
version=2025.1
1616
# https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library
1717
kotlin.stdlib.default.dependency=false
1818
#
1919
# Platform
2020
platformSinceBuild=243
2121
# Develop platform
22-
platformVersion=2024.3
22+
platformVersion=2025.1
2323
platformType=PC
2424
#plugins=
2525
platformBundledPlugins=PythonCore

gradle/libs.versions.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
[versions]
22
# libraries
33
junit = "4.13.2"
4-
sentry = "7.19.0"
54
kotlinxSerialization = "1.6.3"
65

76
# plugins
8-
intelliJPlatform = "2.1.0"
7+
intelliJPlatform = "2.7.0"
8+
# https://plugins.jetbrains.com/docs/intellij/using-kotlin.html#kotlin-standard-library
99
kotlin = "1.9.25"
1010

1111
[libraries]
1212
junit = { group = "junit", name = "junit", version.ref = "junit" }
13-
sentry = { group = "io.sentry", name = "sentry", version.ref = "sentry" }
1413
kotlinxSerialization = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerialization" }
1514

1615
[plugins]

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

src/main/kotlin/dev/meanmail/prettifypython/diagnostic/SentryErrorReporter.kt

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

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
instance="dev.meanmail.prettifypython.settings.PrettifySettingsConfigurable"
2121
id="dev.meanmail.prettifypython.settings.PrettifySettingsConfigurable"
2222
displayName="Prettify Python"/>
23+
<errorHandler implementation="com.intellij.diagnostic.JetBrainsMarketplaceErrorReportSubmitter"/>
2324
</extensions>
2425

2526
</idea-plugin>

src/main/resources/META-INF/python-config.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
<extensions defaultExtensionNs="com.intellij">
33
<lang.foldingBuilder language="Python"
44
implementationClass="dev.meanmail.prettifypython.PrettifyFoldingBuilder"/>
5-
<errorHandler implementation="dev.meanmail.prettifypython.diagnostic.SentryErrorReporter"/>
65
</extensions>
76
</idea-plugin>

0 commit comments

Comments
 (0)