mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-09-22 11:54:40 +00:00
Migrate IntelliJ Platform repository configuration to settings.gradle.kts
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- Migrate IntelliJ Platform repository configuration to `settings.gradle.kts`
|
||||
|
||||
## [2.4.1] - 2026-03-20
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -19,16 +19,6 @@ kotlin {
|
||||
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 {
|
||||
testImplementation(libs.junit)
|
||||
|
||||
@@ -5,7 +5,6 @@ opentest4j = "1.3.0"
|
||||
|
||||
# plugins
|
||||
changelog = "2.5.0"
|
||||
intelliJPlatform = "2.13.1"
|
||||
kotlin = "2.3.20"
|
||||
kover = "0.9.7"
|
||||
qodana = "2025.3.2"
|
||||
@@ -16,7 +15,7 @@ opentest4j = { group = "org.opentest4j", name = "opentest4j", version.ref = "ope
|
||||
|
||||
[plugins]
|
||||
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" }
|
||||
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
|
||||
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"
|
||||
|
||||
plugins {
|
||||
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