-
Notifications
You must be signed in to change notification settings - Fork 5
version 1.2.15 for PhpStorm 2025.1 with fix #66
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
Changes from all commits
b91fdba
7c88cd2
d26ab9b
b03420e
59fffdf
2668a7f
9126dc3
7cf3b32
7f97e1c
b251314
934c2d0
7762ce1
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 |
|---|---|---|
|
|
@@ -22,4 +22,4 @@ | |
| <RunAsTest>false</RunAsTest> | ||
| <method v="2" /> | ||
| </configuration> | ||
| </component> | ||
| </component> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,21 @@ | ||
| import org.jetbrains.changelog.Changelog | ||
| import org.jetbrains.changelog.markdownToHTML | ||
| import org.jetbrains.intellij.platform.gradle.TestFrameworkType | ||
|
|
||
| plugins { | ||
| id("java") // Java support | ||
| alias(libs.plugins.kotlin) // Kotlin support | ||
| alias(libs.plugins.intelliJPlatform) // IntelliJ Platform Gradle Plugin | ||
| alias(libs.plugins.changelog) // Gradle Changelog Plugin | ||
| alias(libs.plugins.kover) // Gradle Kover Plugin | ||
| } | ||
|
|
||
| group = providers.gradleProperty("pluginGroup").get() | ||
| version = providers.gradleProperty("pluginVersion").get() | ||
|
|
||
| // Set the JVM language level used to build the project. | ||
| kotlin { | ||
| jvmToolchain(17) | ||
| jvmToolchain(21) | ||
| } | ||
|
|
||
| // Configure project's dependencies | ||
|
|
@@ -29,37 +31,37 @@ repositories { | |
| // Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog | ||
| dependencies { | ||
| testImplementation(libs.junit) | ||
| testImplementation(libs.opentest4j) | ||
|
|
||
| // IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html | ||
| intellijPlatform { | ||
| create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion")) | ||
|
|
||
| create( | ||
| providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion") | ||
| ) | ||
| // Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins. | ||
| bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') }) | ||
|
|
||
| // Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace. | ||
| plugins(providers.gradleProperty("platformPlugins").map { it.split(',') }) | ||
|
|
||
| instrumentationTools() | ||
| pluginVerifier() | ||
| zipSigner() | ||
| phpstorm("2025.1") | ||
|
Contributor
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. It's not necessary
Contributor
Author
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. I would leave it |
||
|
|
||
| testFramework(TestFrameworkType.Platform) | ||
| } | ||
| } | ||
|
|
||
| // Configure IntelliJ Platform Gradle Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html | ||
| intellijPlatform { | ||
| pluginConfiguration { | ||
| name = providers.gradleProperty("pluginName") | ||
| version = providers.gradleProperty("pluginVersion") | ||
|
|
||
| val changelog = project.changelog // local variable for configuration cache compatibility | ||
| // Get the latest available change notes from the changelog file | ||
| changeNotes = providers.gradleProperty("pluginVersion").map { pluginVersion -> | ||
| with(changelog) { | ||
| renderItem( | ||
| (getOrNull(pluginVersion) ?: getUnreleased()) | ||
| .withHeader(false) | ||
| .withEmptySections(false), | ||
| (getOrNull(pluginVersion) ?: getUnreleased()).withHeader(false).withEmptySections(false), | ||
| Changelog.OutputType.HTML, | ||
| ) | ||
| } | ||
|
|
@@ -86,8 +88,25 @@ changelog { | |
| repositoryUrl = providers.gradleProperty("pluginRepositoryUrl") | ||
| } | ||
|
|
||
| // Configure Gradle Kover Plugin - read more: https://github.com/Kotlin/kotlinx-kover#configuration | ||
| kover { | ||
| reports { | ||
| total { | ||
| xml { | ||
| onCheck = true | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| tasks { | ||
| wrapper { | ||
| gradleVersion = providers.gradleProperty("gradleVersion").get() | ||
| } | ||
| } | ||
|
|
||
| sourceSets { | ||
| test { | ||
| resources.srcDir("src/test/") | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,20 @@ | ||
| [versions] | ||
| # libraries | ||
| junit = "4.13.2" | ||
| opentest4j = "1.3.0" | ||
|
|
||
| # plugins | ||
| changelog = "2.2.1" | ||
| intelliJPlatform = "2.0.1" # TODO: update this in next update: https://youtrack.jetbrains.com/issue/MP-7019 | ||
| kotlin = "1.9.25" | ||
| intelliJPlatform = "2.5.0" | ||
| kotlin = "2.1.20" | ||
| kover = "0.9.1" | ||
|
|
||
| [libraries] | ||
| junit = { group = "junit", name = "junit", version.ref = "junit" } | ||
| opentest4j = { group = "org.opentest4j", name = "opentest4j", version.ref = "opentest4j" } | ||
|
|
||
| [plugins] | ||
| changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" } | ||
| intelliJPlatform = { id = "org.jetbrains.intellij.platform", version.ref = "intelliJPlatform" } | ||
| kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } | ||
| kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
why the formatting?