Skip to content

Commit d32526d

Browse files
author
Niels van de Weem
committed
Upgrade build dependencies & fix warnings
1 parent 81c808b commit d32526d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

build.gradle.kts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
import org.jetbrains.changelog.Changelog
12
import org.jetbrains.changelog.markdownToHTML
23

34
fun properties(key: String) = project.findProperty(key).toString()
45

56
plugins {
67
id("java")
7-
id("org.jetbrains.intellij.platform") version "2.1.0"
8-
id("io.freefair.lombok") version "8.11"
8+
id("org.jetbrains.intellij.platform") version "2.5.0"
9+
id("io.freefair.lombok") version "8.13.1"
910
id("org.jetbrains.changelog") version "2.2.1"
1011
}
1112

@@ -24,7 +25,6 @@ repositories {
2425

2526
dependencies {
2627
intellijPlatform {
27-
instrumentationTools()
2828
zipSigner()
2929

3030
create(properties("platformType"), properties("platformVersion"), false)
@@ -53,14 +53,13 @@ intellijPlatform {
5353

5454
// Get the latest available change notes from the changelog file
5555
changeNotes.set(provider {
56-
changelog.run {
56+
changelog.renderItem(changelog.run {
5757
getOrNull(properties("pluginVersion")) ?: getLatest()
58-
}.toHTML()
58+
}, outputType = Changelog.OutputType.HTML)
5959
})
6060

6161
ideaVersion {
6262
sinceBuild.set(properties("pluginSinceBuild"))
63-
// untilBuild.set(properties("pluginUntilBuild"))
6463
}
6564
}
6665

0 commit comments

Comments
 (0)