mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-09-23 20:36:31 +00:00
Remove libs.versions.toml and inline plugin versions in build scripts for simplified dependency management.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
- Update `version` property in `gradle.properties` and remove redundant `pluginVersion` configuration from `build.gradle.kts`
|
||||
- Inline `junit` dependency version in `build.gradle.kts` and remove it from `libs.versions.toml`.
|
||||
- Remove `platformVersion` property and inline its value in `build.gradle.kts` for cleaner configuration.
|
||||
- Remove `libs.versions.toml` and inline plugin versions in build scripts for simpler configuration.
|
||||
|
||||
### Removed
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@ import org.jetbrains.changelog.markdownToHTML
|
||||
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.kotlin) // Kotlin support
|
||||
alias(libs.plugins.intelliJPlatform) // IntelliJ Platform Gradle Plugin
|
||||
alias(libs.plugins.changelog) // Gradle Changelog Plugin
|
||||
id("org.jetbrains.kotlin.jvm")
|
||||
id("org.jetbrains.intellij.platform")
|
||||
id("org.jetbrains.changelog")
|
||||
}
|
||||
|
||||
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
[versions]
|
||||
|
||||
# plugins
|
||||
changelog = "2.5.0"
|
||||
kotlin = "2.3.20"
|
||||
|
||||
[libraries]
|
||||
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
||||
|
||||
[plugins]
|
||||
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
|
||||
intelliJPlatform = { id = "org.jetbrains.intellij.platform" }
|
||||
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
||||
@@ -2,6 +2,13 @@ import org.jetbrains.intellij.platform.gradle.extensions.intellijPlatform
|
||||
|
||||
rootProject.name = "IntelliJ Platform Plugin Template"
|
||||
|
||||
pluginManagement {
|
||||
plugins {
|
||||
id("org.jetbrains.kotlin.jvm") version "2.1.20"
|
||||
id("org.jetbrains.changelog") version "2.5.0"
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
||||
id("org.jetbrains.intellij.platform.settings") version "2.14.0"
|
||||
|
||||
Reference in New Issue
Block a user