mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-10-09 21:12:36 +00:00
Migrate IntelliJ Platform repository configuration to settings.gradle.kts
This commit is contained in:
@@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Migrate IntelliJ Platform repository configuration to `settings.gradle.kts`
|
||||||
|
|
||||||
## [2.4.1] - 2026-03-20
|
## [2.4.1] - 2026-03-20
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -19,16 +19,6 @@ kotlin {
|
|||||||
jvmToolchain(21)
|
jvmToolchain(21)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Configure project's dependencies
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
|
|
||||||
// IntelliJ Platform Gradle Plugin Repositories Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-repositories-extension.html
|
|
||||||
intellijPlatform {
|
|
||||||
defaultRepositories()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html
|
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation(libs.junit)
|
testImplementation(libs.junit)
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ opentest4j = "1.3.0"
|
|||||||
|
|
||||||
# plugins
|
# plugins
|
||||||
changelog = "2.5.0"
|
changelog = "2.5.0"
|
||||||
intelliJPlatform = "2.13.1"
|
|
||||||
kotlin = "2.3.20"
|
kotlin = "2.3.20"
|
||||||
kover = "0.9.7"
|
kover = "0.9.7"
|
||||||
qodana = "2025.3.2"
|
qodana = "2025.3.2"
|
||||||
@@ -16,7 +15,7 @@ opentest4j = { group = "org.opentest4j", name = "opentest4j", version.ref = "ope
|
|||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
|
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
|
||||||
intelliJPlatform = { id = "org.jetbrains.intellij.platform", version.ref = "intelliJPlatform" }
|
intelliJPlatform = { id = "org.jetbrains.intellij.platform" }
|
||||||
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
||||||
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
|
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
|
||||||
qodana = { id = "org.jetbrains.qodana", version.ref = "qodana" }
|
qodana = { id = "org.jetbrains.qodana", version.ref = "qodana" }
|
||||||
|
|||||||
@@ -1,5 +1,20 @@
|
|||||||
|
import org.jetbrains.intellij.platform.gradle.extensions.intellijPlatform
|
||||||
|
|
||||||
rootProject.name = "IntelliJ Platform Plugin Template"
|
rootProject.name = "IntelliJ Platform Plugin Template"
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
||||||
|
id("org.jetbrains.intellij.platform.settings") version "2.14.0"
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencyResolutionManagement {
|
||||||
|
// Configure all projects' repositories
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
|
||||||
|
// IntelliJ Platform Gradle Plugin Repositories Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-repositories-extension.html
|
||||||
|
intellijPlatform {
|
||||||
|
defaultRepositories()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user