Skip to content

Commit

Permalink
Merge branch 'main' into fix/save-dotfile-after-indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinVaadin authored Nov 21, 2024
2 parents cbdffc6 + 8dd8114 commit 5838f6c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.jetbrains.intellij.platform.gradle.TestFrameworkType
plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "1.9.21"
id("org.jetbrains.intellij.platform") version "2.0.0"
id("org.jetbrains.intellij.platform") version "2.1.0"
id("com.diffplug.spotless") version "7.0.0.BETA2"

id("com.adarshr.test-logger") version "4.0.0"
Expand All @@ -18,18 +18,6 @@ val publishChannel =
"Stable"
}

intellijPlatform {
pluginConfiguration {
version =
if (hasProperty("projVersion")) {
property("projVersion") as String
} else {
"1.0-SNAPSHOT"
}
}
pluginVerification { ides { recommended() } }
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Expand All @@ -44,7 +32,7 @@ repositories {

dependencies {
intellijPlatform {
create("IU", "2023.3")
intellijIdeaUltimate("2023.3")
bundledPlugin("com.intellij.java")
bundledPlugin("org.jetbrains.idea.maven")
bundledPlugin("org.jetbrains.plugins.gradle")
Expand All @@ -62,6 +50,18 @@ dependencies {
testImplementation("junit:junit:4.13.2")
}

intellijPlatform {
pluginConfiguration {
version =
if (hasProperty("projVersion")) {
property("projVersion") as String
} else {
"1.0-SNAPSHOT"
}
}
pluginVerification { ides { recommended() } }
}

configure<com.diffplug.gradle.spotless.SpotlessExtension> {
kotlin {
// by default the target is every '.kt' and '.kts` file in the java sourcesets
Expand Down

0 comments on commit 5838f6c

Please sign in to comment.