Skip to content

Commit

Permalink
Remove intellij 2023 support and remove kotest 4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Dec 23, 2024
1 parent ae16121 commit 7644b60
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 270 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,8 @@ jobs:

strategy:
matrix:
product: [ "IC-231", "IC-232", "IC-233", "IC-241", "IC-242", "IC-243" ]
product: [ "IC-241", "IC-242", "IC-243" ]
include:
- product: "IC-231"
java: "17"
distribution: "temurin"
- product: "IC-232"
java: "17"
distribution: "temurin"
- product: "IC-233"
java: "17"
distribution: "temurin"
- product: "IC-241"
java: "17"
distribution: "temurin"
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,8 @@ jobs:

strategy:
matrix:
product: [ "IC-231", "IC-232", "IC-233", "IC-241", "IC-242", "IC-243" ]
product: [ "IC-241", "IC-242", "IC-243" ]
include:
- product: "IC-231"
java: "17"
distribution: "temurin"
- product: "IC-232"
java: "17"
distribution: "temurin"
- product: "IC-233"
java: "17"
distribution: "temurin"
- product: "IC-241"
java: "17"
distribution: "temurin"
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,8 @@ jobs:

strategy:
matrix:
product: [ "IC-231", "IC-232", "IC-233", "IC-241", "IC-242", "IC-243" ]
product: [ "IC-241", "IC-242", "IC-243" ]
include:
- product: "IC-231"
java: "17"
distribution: "temurin"
- product: "IC-232"
java: "17"
distribution: "temurin"
- product: "IC-233"
java: "17"
distribution: "temurin"
- product: "IC-241"
java: "17"
distribution: "temurin"
Expand Down
35 changes: 2 additions & 33 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.jetbrains.intellij.platform.gradle.models.ProductRelease
plugins {
id("java")
alias(libs.plugins.kotlin.jvm)
id("org.jetbrains.intellij.platform") version "2.1.0"
id("org.jetbrains.intellij.platform") version "2.2.0"
}

repositories {
Expand Down Expand Up @@ -45,27 +45,6 @@ data class PluginDescriptor(
// and 'until' we can use a wildcard eg 213.*

val descriptors = listOf(
PluginDescriptor(
since = "231.8109.163", // this version is 2023.1 release
until = "231.*",
sdkVersion = "2023.1",
sourceFolder = "IC-231",
useInstaller = true,
),
PluginDescriptor(
since = "232.5150.116", // this version is 2023.2
until = "232.*",
sdkVersion = "2023.2",
sourceFolder = "IC-232",
useInstaller = true,
),
PluginDescriptor(
since = "233.9802.16", // this version is 2023.3
until = "233.*",
sdkVersion = "2023.3",
sourceFolder = "IC-233",
useInstaller = true,
),
PluginDescriptor(
since = "241.15989.150", // this version is 2024.1.x
until = "242.*",
Expand All @@ -89,7 +68,7 @@ val descriptors = listOf(
),
)

val productName = System.getenv("PRODUCT_NAME") ?: "IC-243"
val productName = System.getenv("PRODUCT_NAME") ?: "IC-242"
val jvmTargetVersion = System.getenv("JVM_TARGET") ?: "11"
val descriptor = descriptors.first { it.sourceFolder == productName }

Expand Down Expand Up @@ -148,16 +127,6 @@ dependencies {
testFramework(TestFrameworkType.Plugin.Java)
}

// we bundle this for 4.1 support
// in kotest 4.2.0 the launcher has moved to a stand-alone module
implementation(libs.runtime.kotest.legacy.launcher)

// this is needed to use the launcher in 4.2.0, in 4.2.1+ the launcher is built
// into the engine dep which should already be on the classpath
implementation(libs.runtime.kotest.framework.launcher) {

}

// needed for the resource files which are loaded into java light tests
testImplementation(libs.test.kotest.framework.api)
testImplementation(libs.test.kotest.assertions.core)
Expand Down
33 changes: 0 additions & 33 deletions src/IC-231/kotlin/io/kotest/plugin/intellij/files.kt

This file was deleted.

36 changes: 0 additions & 36 deletions src/IC-231/kotlin/io/kotest/plugin/intellij/psi/superClasses.kt

This file was deleted.

33 changes: 0 additions & 33 deletions src/IC-232/kotlin/io/kotest/plugin/intellij/files.kt

This file was deleted.

36 changes: 0 additions & 36 deletions src/IC-232/kotlin/io/kotest/plugin/intellij/psi/superClasses.kt

This file was deleted.

33 changes: 0 additions & 33 deletions src/IC-233/kotlin/io/kotest/plugin/intellij/files.kt

This file was deleted.

36 changes: 0 additions & 36 deletions src/IC-233/kotlin/io/kotest/plugin/intellij/psi/superClasses.kt

This file was deleted.

0 comments on commit 7644b60

Please sign in to comment.