Skip to content

Commit

Permalink
Turbo87#527 - updated to new intellij version
Browse files Browse the repository at this point in the history
  • Loading branch information
MVB-zimmermq committed Sep 13, 2024
1 parent 4c9f592 commit 98c353a
Showing 1 changed file with 23 additions and 24 deletions.
47 changes: 23 additions & 24 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jetbrains.intellij.platform.gradle.TestFrameworkType

plugins {
// Java support
id("java")
// Kotlin support
id("org.jetbrains.kotlin.jvm") version "1.9.25"
id("org.jetbrains.kotlin.jvm") version "2.0.20"
// gradle-intellij-plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
id("org.jetbrains.intellij") version "1.17.4"
id("org.jetbrains.intellij.platform") version "2.0.1"
// id("org.jetbrains.intellij.platform.migration") version "2.0.1"
}

group = "com.emberjs"
Expand All @@ -15,32 +17,29 @@ version = "2024.1.1"
// Configure project's dependencies
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
dependencies {
implementation("org.codehaus.jettison:jettison:1.5.1")
testImplementation("org.assertj:assertj-core:3.25.3")
intellijPlatform {
create("IU", "2024.2")
plugins(listOf("com.dmarcotte.handlebars:242.20224.159"))
bundledPlugins(listOf("JavaScript", "com.intellij.css", "org.jetbrains.plugins.yaml"))
instrumentationTools()
testFramework(TestFrameworkType.Platform)
}
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("org.assertj:assertj-core:3.26.3")
testImplementation("org.junit.platform:junit-platform-launcher:1.11.0")
implementation(kotlin("test"))
implementation("org.codehaus.jettison:jettison:1.5.4")
}

// Configure gradle-intellij-plugin plugin.
// Read more: https://github.com/JetBrains/gradle-intellij-plugin
intellij {
pluginName.set("Ember.js")

// see https://www.jetbrains.com/intellij-repository/releases/
// and https://www.jetbrains.com/intellij-repository/snapshots/
version.set("2024.2")
type.set("IU")

downloadSources.set(!System.getenv().containsKey("CI"))
updateSinceUntilBuild.set(true)

// Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
// Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
//
// com.dmarcotte.handlebars: see https://plugins.jetbrains.com/plugin/6884-handlebars-mustache/versions
plugins.set(listOf("JavaScript", "com.intellij.css", "yaml", "com.dmarcotte.handlebars:242.20224.159"))

sandboxDir.set(project.rootDir.canonicalPath + "/.sandbox")
intellijPlatform {
pluginConfiguration {
name.set("Ember.js")
}
}

tasks {
Expand Down

0 comments on commit 98c353a

Please sign in to comment.