@@ -12,33 +12,17 @@ val nxlsRoot = "${rootDir}/dist/apps/nxls"
12
12
layout.buildDirectory = file(" ${rootDir} /dist/apps/intellij" )
13
13
14
14
plugins {
15
- // Java support
16
15
id(" java" )
17
- // Kotlin support
18
- id(" org.jetbrains.kotlin.jvm" ) version " 2.2.0"
19
- // Kotlin serialization
20
- id(" org.jetbrains.kotlin.plugin.serialization" ) version " 2.2.0"
21
- // Gradle IntelliJ Platform Plugin
22
- id(" org.jetbrains.intellij.platform" ) version " 2.9.0"
23
-
24
- // Gradle Changelog Plugin
25
16
id(" org.jetbrains.changelog" ) version " 2.4.0"
26
-
27
- id(" com.ncorti.ktfmt.gradle" ) version " 0.24.0"
28
- id(" dev.nx.gradle.project-graph" ) version " 0.1.8"
17
+ id(" org.jetbrains.intellij.platform" ) version " 2.9.0"
29
18
}
30
19
31
20
group = providers.gradleProperty(" pluginGroup" ).get()
32
- version = providers.gradleProperty(" version" ).get()
33
21
22
+ version = providers.gradleProperty(" version" ).get()
34
23
35
24
// Configure project's dependencies
36
- repositories {
37
- mavenLocal()
38
- mavenCentral()
39
- gradlePluginPortal()
40
- intellijPlatform { defaultRepositories() }
41
- }
25
+ repositories { intellijPlatform { defaultRepositories() } }
42
26
43
27
configurations.all {
44
28
exclude(" org.slf4j" , " slf4j-api" )
@@ -64,13 +48,11 @@ dependencies {
64
48
testImplementation(" junit:junit:4.13.2" )
65
49
66
50
intellijPlatform {
67
- val type = providers.gradleProperty(" platformType" )
68
- val version = providers.gradleProperty(" platformVersion" )
69
- create(type, version) {
70
- useCache = true
71
- }
51
+ val type = providers.gradleProperty(" platformType" )
52
+ val version = providers.gradleProperty(" platformVersion" )
53
+ create(type, version) { useCache = true }
72
54
73
- plugin(" com.intellij.ml.llm:252.25557.171" )
55
+ plugin(" com.intellij.ml.llm:252.25557.171" )
74
56
bundledPlugins(
75
57
providers.gradleProperty(" platformPlugins" ).map { plugins ->
76
58
plugins.split(' ,' ).map(String ::trim).filter(String ::isNotEmpty)
0 commit comments