Skip to content

Commit 446d358

Browse files
authored
Merge pull request #114 from tnorbye/1.6.8
1.6.8: Add compatibility for IJ 2025.2.
2 parents 3b38070 + c6342f4 commit 446d358

File tree

4 files changed

+45
-45
lines changed

4 files changed

+45
-45
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
# KDoc Formatter Changelog
44

5+
## [1.6.8]
6+
- IDE-only update: Marked compatible with IntelliJ IDEA 2025.2.
7+
58
## [1.6.7]
69
- Fix issue #104: Include type parameters in parameter list reordering
710
- Fix issue #105: Make add punctuation apply to all paragraphs, not just last

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Options:
120120
@<filename>
121121
Read filenames from file.
122122
123-
kdoc-formatter: Version 1.6.7
123+
kdoc-formatter: Version 1.6.8
124124
https://github.com/tnorbye/kdoc-formatter
125125
```
126126

ide-plugin/build.gradle.kts

Lines changed: 40 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ plugins {
1616
}
1717

1818
val pluginVersion: String =
19-
Properties()
20-
.apply { load(file("../library/src/main/resources/version.properties").inputStream()) }
21-
.getProperty("buildVersion")
19+
Properties()
20+
.apply { load(file("../library/src/main/resources/version.properties").inputStream()) }
21+
.getProperty("buildVersion")
2222

2323
group = properties("pluginGroup")
2424

@@ -53,55 +53,52 @@ tasks {
5353
untilBuild.set(properties("pluginUntilBuild"))
5454

5555
pluginDescription.set(
56-
projectDir
57-
.resolve("README.md")
58-
.readText()
59-
.lines()
60-
.run {
61-
val start = "<!-- Plugin description -->"
62-
val end = "<!-- Plugin description end -->"
63-
64-
if (!containsAll(listOf(start, end))) {
65-
throw GradleException(
66-
"Plugin description section not found in README.md:\n$start ... $end"
67-
)
68-
}
69-
subList(indexOf(start) + 1, indexOf(end))
70-
}
71-
.joinToString("\n")
72-
.run { markdownToHTML(this) }
73-
)
56+
projectDir
57+
.resolve("README.md")
58+
.readText()
59+
.lines()
60+
.run {
61+
val start = "<!-- Plugin description -->"
62+
val end = "<!-- Plugin description end -->"
63+
64+
if (!containsAll(listOf(start, end))) {
65+
throw GradleException(
66+
"Plugin description section not found in README.md:\n$start ... $end")
67+
}
68+
subList(indexOf(start) + 1, indexOf(end))
69+
}
70+
.joinToString("\n")
71+
.run { markdownToHTML(this) })
7472

7573
// Get the latest available change notes from the changelog file
7674
changeNotes.set(
77-
provider {
78-
with(changelog) {
79-
renderItem(
80-
getOrNull(properties("pluginVersion"))
81-
?: runCatching { getLatest() }.getOrElse { getUnreleased() },
82-
Changelog.OutputType.HTML,
83-
)
84-
}
85-
}
86-
)
75+
provider {
76+
with(changelog) {
77+
renderItem(
78+
getOrNull(properties("pluginVersion"))
79+
?: runCatching { getLatest() }.getOrElse { getUnreleased() },
80+
Changelog.OutputType.HTML,
81+
)
82+
}
83+
})
8784
}
8885

8986
// Read more: https://github.com/JetBrains/intellij-ui-test-robot
9087
val runIdeForUiTests by
91-
intellijPlatformTesting.runIde.registering {
92-
task {
93-
jvmArgumentProviders += CommandLineArgumentProvider {
94-
listOf(
95-
"-Drobot-server.port=8082",
96-
"-Dide.mac.message.dialogs.as.sheets=false",
97-
"-Djb.privacy.policy.text=<!--999.999-->",
98-
"-Djb.consents.confirmation.enabled=false",
99-
)
88+
intellijPlatformTesting.runIde.registering {
89+
task {
90+
jvmArgumentProviders += CommandLineArgumentProvider {
91+
listOf(
92+
"-Drobot-server.port=8082",
93+
"-Dide.mac.message.dialogs.as.sheets=false",
94+
"-Djb.privacy.policy.text=<!--999.999-->",
95+
"-Djb.consents.confirmation.enabled=false",
96+
)
97+
}
10098
}
101-
}
10299

103-
plugins { robotServerPlugin() }
104-
}
100+
plugins { robotServerPlugin() }
101+
}
105102
}
106103

107104
lint {

library/src/main/resources/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
#
1616

1717
# Release version definition
18-
buildVersion = 1.6.7
18+
buildVersion = 1.6.8

0 commit comments

Comments
 (0)