Skip to content

Commit

Permalink
feat: update for Intellij 2023.1 (#27)
Browse files Browse the repository at this point in the history
* use JDK 17

* use Kotlin 1.8.0

* Create .asyncapi-tool (#20)

(cherry picked from commit 8332819)

* Update Gradle wrapper to 8.1-rc-1

same as plugin "org.jetbrains.intellij" version "1.13.3"

* Update Plugin Version, IDE versions and dependencies

---------

Co-authored-by: Philip Schlesinger @ Cryoport <[email protected]>
  • Loading branch information
nexoscp and philCryoport authored May 1, 2023
1 parent b75baab commit 4395a6f
Show file tree
Hide file tree
Showing 7 changed files with 189 additions and 118 deletions.
15 changes: 15 additions & 0 deletions .asyncapi-tool
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"title": "jAsyncAPI - IDEA plugin",
"description": "Idea plugin for the java-asyncapi - Helps to edit and validate AsyncAPI schemas.",
"links": {
"websiteUrl": "https://plugins.jetbrains.com/plugin/15673-asyncapi",
"docsUrl": "https://github.com/asyncapi/jasyncapi-idea-plugin#usage",
"repoUrl": "https://github.com/asyncapi/jasyncapi-idea-plugin"
},
"filters": {
"language": "Kotlin",
"technology": ["JetBrains","IntelliJ IDEA"],
"categories": ["ide-extension"],
"hasCommercial": false
}
}
6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 12 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
plugins {
id("org.jetbrains.intellij") version "1.12.0"
id("org.jetbrains.intellij") version "1.13.3"
java
kotlin("jvm") version "1.8.0"
kotlin("jvm") version "1.8.10"
}

group = "com.asyncapi.plugin.idea"
version = "2.0.0+jre17"
version = "2.0.1+jre17"

repositories {
mavenCentral()
}

dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.1")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.9.1")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.2")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.9.2")
}

// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version.set("2022.3.1")
version.set("2023.1")
plugins.set(listOf("yaml"))
}
tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml") {
sinceBuild.set("223")
untilBuild.set("223.*")
sinceBuild.set("231")
untilBuild.set("231.*")
changeNotes.set("""
<p>Update to support IntelliJ IDEA 2022.3, 2022.3.*</p>
<p>Update to support IntelliJ IDEA 2023.1*</p>
""".trimIndent())
}

tasks.getByName<org.jetbrains.intellij.tasks.RunPluginVerifierTask>("runPluginVerifier") {
ideVersions.set(listOf(
"2022.3",
"2022.3.1"
"2022.3.1",
"2023.1"
))
verifierVersion.set("1.289")
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion 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.4.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-rc-1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 4395a6f

Please sign in to comment.