Remove platformVersion property and inline its value in build.gradle.kts for cleaner configuration.

This commit is contained in:
Jakub Chrzanowski
2026-04-13 16:57:51 +02:00
parent e3d900af04
commit 3924430b5d
4 changed files with 2 additions and 7 deletions

View File

@@ -3,9 +3,6 @@ version = 0.0.1
pluginRepositoryUrl = https://github.com/%REPOSITORY%
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
platformVersion = 2025.2.6.1
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
kotlin.stdlib.default.dependency = false

View File

@@ -13,6 +13,7 @@
### Removed
- Remove `platformVersion` property and inline its value in `build.gradle.kts` for cleaner configuration.
- Remove (empty) plugin and module dependency configurations from `build.gradle.kts` and `gradle.properties`.
- Remove `opentest4j` dependency from `build.gradle.kts` and `libs.versions.toml`, redundant since IntelliJ Platform 251+
- Remove `gradleVersion` property and wrapper configuration as Gradle Wrapper should be updated with `./gradlew wrapper --gradle-version=9.4.1 && ./gradlew wrapper`

View File

@@ -14,7 +14,7 @@ dependencies {
// IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
intellijPlatform {
intellijIdea(providers.gradleProperty("platformVersion"))
intellijIdea("2025.2.6.1")
testFramework(TestFrameworkType.Platform)
}
}

View File

@@ -3,9 +3,6 @@ version = 2.4.1
pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
platformVersion = 2025.2.6.1
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
kotlin.stdlib.default.dependency = false