-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update for Intellij 2022.3.1 #11
Changes from 1 commit
3bfe7f5
8f3e9d4
cab3a56
1f97478
d2dd98a
cbe8481
feb6b46
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,30 @@ | ||
plugins { | ||
id("org.jetbrains.intellij") version "1.9.0" | ||
id("org.jetbrains.intellij") version "1.11.0" | ||
java | ||
kotlin("jvm") version "1.6.20" | ||
kotlin("jvm") version "1.7.22" | ||
} | ||
|
||
group "com.asyncapi.plugin.idea" | ||
version = "1.7.1+idea2021" | ||
version = "1.7.1+idea2022" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Might I suggest this be If so, this PR should be against that release branch There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. isn't this the 1.8.0 release branch? |
||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation(kotlin("stdlib")) | ||
testImplementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7") | ||
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0") | ||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.9.0") | ||
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.9.0") | ||
} | ||
|
||
// See https://github.com/JetBrains/gradle-intellij-plugin/ | ||
intellij { | ||
version.set("2022.2.3") | ||
version.set("2022.3.1") | ||
plugins.set(listOf("yaml")) | ||
} | ||
tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml") { | ||
sinceBuild.set("211") | ||
untilBuild.set("222.*") | ||
sinceBuild.set("223") | ||
untilBuild.set("223.*") | ||
changeNotes.set(""" | ||
<p>Fix preview on Windows</p> | ||
""".trimIndent()) | ||
|
@@ -54,19 +52,21 @@ tasks.getByName<org.jetbrains.intellij.tasks.RunPluginVerifierTask>("runPluginVe | |
"2022.2", | ||
"2022.2.1", | ||
"2022.2.2", | ||
"2022.2.3" | ||
"2022.2.3", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
"2022.3", | ||
"2022.3.1" | ||
)) | ||
verifierVersion.set("1.284") | ||
} | ||
|
||
tasks { | ||
compileKotlin { | ||
kotlinOptions.jvmTarget = "11" | ||
kotlinOptions.jvmTarget = "17" | ||
} | ||
compileTestKotlin { | ||
kotlinOptions.jvmTarget = "11" | ||
kotlinOptions.jvmTarget = "17" | ||
} | ||
test { | ||
useJUnitPlatform() | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see Kotlin 1.7.22 here: https://kotlinlang.org/docs/releases.html#release-details
Am I missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Gradle Intellij Plugin depends on Kotlin 1.7.22: https://github.com/JetBrains/gradle-intellij-plugin/blob/v1.11.0/build.gradle.kts#L12
Kotlin 1.7.22 can be found here: https://github.com/JetBrains/kotlin/releases/tag/v1.7.22