Skip to content

Commit

Permalink
release: 3.0.0
Browse files Browse the repository at this point in the history
Co-authored-by: Dennis Hartrampf <d.hartrampf@bvv.de>
  • Loading branch information
Pakisan and DennisHartrampf committed Dec 3, 2024
1 parent 05ee142 commit 0c0e894
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

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

2 changes: 1 addition & 1 deletion .idea/misc.xml

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

2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=17.0.5-tem
java=21.0.5-tem
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 3.0.0+jre21
published to:
- [JetBrains marketplace](https://plugins.jetbrains.com/plugin/15673-asyncapi/versions/stable/643518)
- [GitHub](https://github.com/asyncapi/jasyncapi-idea-plugin/releases/new?tag=3.0.0%2Bjre21)

### Added

- Resolve local references for correct AsyncAPI specification rendering

### Fixed

- Inject AsyncAPI specification directly into preview instead of saving as temporal file and rendering it

## 2.7.0+jre21
published to:
- [JetBrains marketplace](https://plugins.jetbrains.com/plugin/15673-asyncapi/versions/stable/643494)
Expand Down
66 changes: 14 additions & 52 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
import org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
id("org.jetbrains.intellij.platform") version "2.1.0"
Expand All @@ -8,7 +9,7 @@ plugins {
}

group = "com.asyncapi.plugin.idea"
version = "2.7.0+jre17"
version = "3.0.0+jre21"

repositories {
mavenCentral()
Expand All @@ -27,11 +28,12 @@ dependencies {
Please adjust the IntelliJ version to 2022.3 in the Gradle build script and try building the plugin again.
*/
intellijIdeaCommunity("2022.3", useInstaller = false) // MUST NOT be changed
intellijIdeaCommunity("2024.3", useInstaller = false) // MUST NOT be changed

// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
bundledPlugins(listOf(
"org.jetbrains.plugins.yaml"
"org.jetbrains.plugins.yaml",
"com.intellij.modules.json"
))

pluginVerifier()
Expand Down Expand Up @@ -74,76 +76,36 @@ intellijPlatform {
failureLevel = listOf(
VerifyPluginTask.FailureLevel.INVALID_PLUGIN,
VerifyPluginTask.FailureLevel.COMPATIBILITY_PROBLEMS,
VerifyPluginTask.FailureLevel.NOT_DYNAMIC
VerifyPluginTask.FailureLevel.NOT_DYNAMIC,
VerifyPluginTask.FailureLevel.MISSING_DEPENDENCIES,
)

ides {
ides(listOf(
"2022.3",
"2022.3.1",
"2022.3.2",
"2022.3.3",
"2023.1",
"2023.1.1",
"2023.1.2",
"2023.1.3",
"2023.1.4",
"2023.1.5",
"2023.2",
"2023.2.1",
"2023.2.2",
"2023.2.3",
"2023.2.4",
"2023.2.5",
"2023.3",
"2023.3.1",
"2023.3.2",
"2023.3.3",
"2023.3.4",
"2023.3.5",
"2023.3.6",
"2023.3.7",
"2024.1",
"2024.1.1",
"2024.1.2",
"2024.1.3",
"2024.1.4",
"2024.1.5",
"2024.1.6",
"2024.2",
"2024.2.0.1",
"2024.2.0.2",
"2024.2.1",
"2024.2.2",
"2024.2.3",
"2024.2.4",
"2024.2.5"
"2024.3"
))
}
}
}

tasks {
patchPluginXml {
sinceBuild = "223"
untilBuild = "242.*"
sinceBuild = "243"
untilBuild = "243.*"
}
}

tasks {
compileKotlin {
kotlinOptions.jvmTarget = "17"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "17"
}
test {
useJUnitPlatform()
}
}

kotlin {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_21)
}
jvmToolchain {
this.languageVersion.set(JavaLanguageVersion.of(17))
this.languageVersion.set(JavaLanguageVersion.of(21))
}
}
1 change: 1 addition & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
on how to target different products -->
<depends>com.intellij.modules.platform</depends>
<depends>org.jetbrains.plugins.yaml</depends>
<depends>com.intellij.modules.json</depends>

<extensions defaultExtensionNs="com.intellij">
<!-- Add your extensions here -->
Expand Down

0 comments on commit 0c0e894

Please sign in to comment.