Skip to content

Commit

Permalink
👷 Update to newer intellij plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavst committed Oct 18, 2024
1 parent 51f8c3b commit c4808be
Show file tree
Hide file tree
Showing 10 changed files with 106 additions and 82 deletions.
21 changes: 12 additions & 9 deletions backends/intellij/base/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
plugins {
kotlin("jvm") version "2.0.0"
id("org.jetbrains.intellij") version "1.17.4"
id("org.jetbrains.intellij.platform") version "2.1.0"
id("java-library")
}

repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}

dependencies {
implementation(kotlin("stdlib"))
intellijPlatform {
intellijIdeaCommunity("2022.3")
instrumentationTools()
}
}

intellij {
version.set("2022.3.1")
type.set("IC")
intellijPlatform {
buildSearchableOptions.set(false)
}

tasks{
buildSearchableOptions {
enabled = false
}
runIde{
tasks {
runIde {
enabled = false
}
}
20 changes: 11 additions & 9 deletions backends/intellij/cpp/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
plugins {
kotlin("jvm") version "2.0.0"
id("org.jetbrains.intellij") version "1.17.4"
id("org.jetbrains.intellij.platform") version "2.1.0"
id("java-library")
}

repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}

dependencies {
implementation(kotlin("stdlib"))
implementation(project(":base"))
intellijPlatform {
clion("2024.2.1")
bundledPlugin("com.intellij.clion")
instrumentationTools()
}
}

intellij {
version.set("2022.1.1")
type.set("CL")
plugins.set(listOf("com.intellij.clion", "com.intellij.cidr.lang", "com.intellij.cidr.base"))
updateSinceUntilBuild.set(false)
intellijPlatform {
buildSearchableOptions.set(false)
}

tasks {
buildSearchableOptions {
enabled = false
}
runIde {
enabled = false
}
Expand Down
24 changes: 13 additions & 11 deletions backends/intellij/go/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
plugins {
kotlin("jvm") version "2.0.0"
id("org.jetbrains.intellij") version "1.17.4"
id("org.jetbrains.intellij.platform") version "2.1.0"
id("java-library")
}

repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}

dependencies {
implementation(kotlin("stdlib"))
implementation(project(":base"))
intellijPlatform {
intellijIdeaUltimate("2024.2.3")
plugin("org.jetbrains.plugins.go:242.23339.11")
instrumentationTools()
}
}

intellij {
version.set("2022.1.1")
type.set("IU")
plugins.add("org.jetbrains.plugins.go:221.5591.9")
updateSinceUntilBuild.set(false)
intellijPlatform {
buildSearchableOptions.set(false)
}

tasks{
buildSearchableOptions {
enabled = false
}
runIde{
tasks {
runIde {
enabled = false
}
}
2 changes: 1 addition & 1 deletion backends/intellij/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
24 changes: 13 additions & 11 deletions backends/intellij/java/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
plugins {
kotlin("jvm") version "2.0.0"
id("org.jetbrains.intellij") version "1.17.4"
id("org.jetbrains.intellij.platform") version "2.1.0"
id("java-library")
}

repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}

dependencies {
implementation(kotlin("stdlib"))
implementation(project(":base"))
intellijPlatform {
intellijIdeaCommunity("2024.2.3")
bundledPlugin("com.intellij.java")
instrumentationTools()
}
}

intellij {
version.set("2022.1.1")
type.set("IC")
plugins.set(listOf("com.intellij.java"))
updateSinceUntilBuild.set(false)
intellijPlatform {
buildSearchableOptions.set(false)
}

tasks{
buildSearchableOptions {
enabled = false
}
runIde{
tasks {
runIde {
enabled = false
}
}
24 changes: 13 additions & 11 deletions backends/intellij/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
plugins {
kotlin("jvm") version "2.0.0"
id("org.jetbrains.intellij") version "1.17.4"
id("org.jetbrains.intellij.platform") version "2.1.0"
id("java-library")
}

repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}

dependencies {
implementation(kotlin("stdlib"))
implementation(project(":base"))
intellijPlatform {
intellijIdeaCommunity("2024.2.3")
bundledPlugin("org.jetbrains.kotlin")
instrumentationTools()
}
}

intellij {
version.set("2022.1.1")
type.set("IC")
plugins.set(listOf("org.jetbrains.kotlin"))
updateSinceUntilBuild.set(false)
intellijPlatform {
buildSearchableOptions.set(false)
}

tasks{
buildSearchableOptions {
enabled = false
}
runIde{
tasks {
runIde {
enabled = false
}
}
24 changes: 13 additions & 11 deletions backends/intellij/php/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
plugins {
kotlin("jvm") version "2.0.0"
id("org.jetbrains.intellij") version "1.17.4"
id("org.jetbrains.intellij.platform") version "2.1.0"
id("java-library")
}

repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}

dependencies {
implementation(kotlin("stdlib"))
implementation(project(":base"))
intellijPlatform {
intellijIdeaCommunity("2024.2.3")
plugin("com.jetbrains.php:242.23339.16")
instrumentationTools()
}
}

intellij {
version.set("2022.2.2")
type.set("IU")
plugins.add("com.jetbrains.php:222.4167.35")
updateSinceUntilBuild.set(false)
intellijPlatform {
buildSearchableOptions.set(false)
}

tasks{
buildSearchableOptions {
enabled = false
}
runIde{
tasks {
runIde {
enabled = false
}
}
24 changes: 17 additions & 7 deletions backends/intellij/plugin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
kotlin("jvm") version "2.0.0"
id("org.jetbrains.intellij") version "1.17.4"
id("org.jetbrains.intellij.platform") version "2.1.0"
java
}

Expand All @@ -9,6 +9,9 @@ version = "1.17.0"

repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}

dependencies {
Expand All @@ -21,11 +24,18 @@ dependencies {
implementation(project(":cpp"))
implementation(project(":go"))
implementation(project(":python"))
}

// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version.set("2022.3.1")
type.set("IC")
updateSinceUntilBuild.set(false)
intellijPlatform {
intellijIdeaCommunity("2024.2.3")
instrumentationTools()
pluginVerifier()
}
}

intellijPlatform {
pluginConfiguration {
ideaVersion {
sinceBuild = "223.*"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<id>com.yoavst.graffiti.intellij</id>
<name>Graffiti</name>
<vendor email="[email protected]" url="https://yoavst.com">Yoav Sternberg</vendor>
<idea-version since-build="213"/>
<description><![CDATA[
Graffiti support for Intellij, Clion and PHPStorm. Supports Java, Kotlin, C/C++ and PHP.
]]></description>
Expand Down
24 changes: 13 additions & 11 deletions backends/intellij/python/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,30 +1,32 @@
plugins {
kotlin("jvm") version "2.0.0"
id("org.jetbrains.intellij") version "1.17.4"
id("org.jetbrains.intellij.platform") version "2.1.0"
id("java-library")
}

repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}

dependencies {
implementation(kotlin("stdlib"))
implementation(project(":base"))
intellijPlatform {
pycharmCommunity("2024.2.3")
bundledPlugin("PythonCore")
instrumentationTools()
}
}

intellij {
version.set("2022.1.1")
type.set("PC")
plugins.set(listOf("PythonCore"))
updateSinceUntilBuild.set(false)
intellijPlatform {
buildSearchableOptions.set(false)
}

tasks{
buildSearchableOptions {
enabled = false
}
runIde{
tasks {
runIde {
enabled = false
}
}

0 comments on commit c4808be

Please sign in to comment.