Skip to content

Commit

Permalink
Update IJ Platform 232 to 2023.2.4 (#209)
Browse files Browse the repository at this point in the history
* Update IJP-232 to 23.2.4

* Only run check on appropriate platform version
  • Loading branch information
rock3r authored Oct 26, 2023
1 parent 7a99c04 commit 25dd3c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,17 @@ open class CheckIdeaVersionTask : DefaultTask() {

init {
group = "jewel"

val currentPlatformVersion = project.supportedIJVersion()
enabled = project.name.endsWith(getPlatformSuffix(currentPlatformVersion))
}

private fun getPlatformSuffix(currentPlatformVersion: SupportedIJVersion) =
when (currentPlatformVersion) {
SupportedIJVersion.IJ_232 -> "232"
SupportedIJVersion.IJ_233 -> "233"
}

@TaskAction
fun generate() {
val json = Json {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ composeDesktop = "1.5.2"
coroutines = "1.7.3"
detekt = "1.23.1"
dokka = "1.8.20"
idea232 = "232.10072.27"
idea232 = "232.10203.10"
idea233 = "233.10527.20-EAP-SNAPSHOT"
ideaGradlePlugin = "1.16.0"
javaSarif = "2.0"
Expand Down

0 comments on commit 25dd3c2

Please sign in to comment.