Skip to content

Commit 1137bb7

Browse files
committed
bump platform version
1 parent 8b503a6 commit 1137bb7

File tree

2 files changed

+28
-27
lines changed

2 files changed

+28
-27
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ build/
55
!**/src/test/**/build/
66

77
### IntelliJ IDEA ###
8+
.intellijPlatform
89
.idea/modules.xml
910
.idea/jarRepositories.xml
1011
.idea/compiler.xml

build.gradle.kts

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
plugins {
22
id("java")
3-
id("org.jetbrains.kotlin.jvm") version "1.9.25"
4-
id("org.jetbrains.intellij") version "1.17.4"
3+
id("org.jetbrains.kotlin.jvm") version "2.1.0"
4+
id("org.jetbrains.intellij.platform") version "2.5.0"
55
}
66

77
group = "fominok"
88
version = "1.0-SNAPSHOT"
99

1010
repositories {
1111
mavenCentral()
12-
12+
intellijPlatform {
13+
defaultRepositories()
14+
}
1315
maven("https://repo.clojars.org/")
1416
}
1517

@@ -21,7 +23,17 @@ sourceSets {
2123
}
2224
}
2325

26+
// Configure Gradle IntelliJ Plugin
27+
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html
2428
dependencies {
29+
intellijPlatform {
30+
create("IC", "2025.1")
31+
testFramework(org.jetbrains.intellij.platform.gradle.TestFrameworkType.Platform)
32+
33+
// Add necessary plugin dependencies for compilation here, example:
34+
// bundledPlugin("com.intellij.java")
35+
}
36+
2537
implementation("org.clojure:clojure:1.12.0")
2638

2739
implementation("nrepl:nrepl:1.3.1")
@@ -31,37 +43,25 @@ dependencies {
3143
implementation("org.clojure:spec.alpha:0.5.238")
3244
}
3345

34-
// Configure Gradle IntelliJ Plugin
35-
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
36-
intellij {
37-
version.set("2024.1.7")
38-
type.set("IC") // Target IDE Platform
46+
intellijPlatform {
47+
pluginConfiguration {
48+
ideaVersion {
49+
sinceBuild = "251"
50+
}
3951

40-
plugins.set(listOf(/* Plugin Dependencies */))
52+
changeNotes = """
53+
Initial version
54+
""".trimIndent()
55+
}
4156
}
4257

4358
tasks {
4459
// Set the JVM compatibility versions
4560
withType<JavaCompile> {
46-
sourceCompatibility = "17"
47-
targetCompatibility = "17"
61+
sourceCompatibility = "21"
62+
targetCompatibility = "21"
4863
}
4964
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
50-
kotlinOptions.jvmTarget = "17"
51-
}
52-
53-
patchPluginXml {
54-
sinceBuild.set("241")
55-
untilBuild.set("243.*")
56-
}
57-
58-
signPlugin {
59-
certificateChain.set(System.getenv("CERTIFICATE_CHAIN"))
60-
privateKey.set(System.getenv("PRIVATE_KEY"))
61-
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
62-
}
63-
64-
publishPlugin {
65-
token.set(System.getenv("PUBLISH_TOKEN"))
65+
kotlinOptions.jvmTarget = "21"
6666
}
6767
}

0 commit comments

Comments
 (0)