Skip to content

Commit 7392fe4

Browse files
committed
🔖 version 1.11.1 update to intellij 2022.2
1 parent c3d7351 commit 7392fe4

4 files changed

Lines changed: 25 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
# gitmoji-intellij-plugin changelog
44

55
## [Unreleased]
6+
- Update to intellij 2022.2
67

78
## [1.11.0]
8-
- Bug fix #34 Error when select the option nothing
9+
- Bug fix #34 Error when select the option nothing
910
- Feature #27 Add new option for insert the gitmoji description in the commit
1011

1112
## [1.10.0]

build.gradle.kts

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ plugins {
77
// Java support
88
id("java")
99
// Kotlin support
10-
id("org.jetbrains.kotlin.jvm") version "1.6.10"
10+
id("org.jetbrains.kotlin.jvm") version "1.7.21"
1111
// Gradle IntelliJ Plugin
12-
id("org.jetbrains.intellij") version "1.4.0"
12+
id("org.jetbrains.intellij") version "1.10.0"
1313
// Gradle Changelog Plugin
14-
id("org.jetbrains.changelog") version "1.3.1"
14+
id("org.jetbrains.changelog") version "2.0.0"
1515
// Gradle Qodana Plugin
1616
id("org.jetbrains.qodana") version "0.1.13"
17+
// Gradle Kover Plugin
18+
id("org.jetbrains.kotlinx.kover") version "0.6.1"
1719
}
1820

1921
group = properties("pluginGroup")
@@ -25,9 +27,8 @@ repositories {
2527
}
2628

2729
dependencies {
28-
2930
implementation("org.jetbrains.kotlin:kotlin-stdlib")
30-
implementation("com.google.code.gson:gson:2.8.6")
31+
implementation("com.google.code.gson:gson:2.8.9")
3132
implementation("com.squareup.okhttp3:okhttp:4.9.1")
3233
}
3334

@@ -45,6 +46,7 @@ intellij {
4546
changelog {
4647
version.set(properties("pluginVersion"))
4748
groups.set(emptyList())
49+
repositoryUrl.set(properties("pluginRepositoryUrl"))
4850
}
4951

5052
// Configure Gradle Qodana Plugin - read more: https://github.com/JetBrains/gradle-qodana-plugin
@@ -78,22 +80,25 @@ tasks {
7880

7981
// Extract the <!-- Plugin description --> section from README.md and provide for the plugin's manifest
8082
pluginDescription.set(
81-
projectDir.resolve("README.md").readText().lines().run {
83+
file("README.md").readText().lines().run {
8284
val start = "<!-- Plugin description -->"
8385
val end = "<!-- Plugin description end -->"
8486

8587
if (!containsAll(listOf(start, end))) {
8688
throw GradleException("Plugin description section not found in README.md:\n$start ... $end")
8789
}
8890
subList(indexOf(start) + 1, indexOf(end))
89-
}.joinToString("\n").run { markdownToHTML(this) }
91+
}.joinToString("\n").let { markdownToHTML(it) }
9092
)
9193

9294
// Get the latest available change notes from the changelog file
9395
changeNotes.set(provider {
94-
changelog.run {
95-
getOrNull(properties("pluginVersion")) ?: getLatest()
96-
}.toHTML()
96+
with(changelog) {
97+
renderItem(
98+
getOrNull(properties("pluginVersion")) ?: getLatest(),
99+
org.jetbrains.changelog.Changelog.OutputType.HTML,
100+
)
101+
}
97102
})
98103
}
99104

gradle.properties

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,28 @@
33

44
pluginGroup = com.github.patou
55
pluginName = gitmoji-intellij-plugin
6+
pluginRepositoryUrl = https://github.com/patou/gitmoji-intellij-plugin
67
# SemVer format -> https://semver.org
7-
pluginVersion = 1.11.0
8+
pluginVersion = 1.11.1
89

910
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1011
# for insight into build numbers and IntelliJ Platform versions.
11-
pluginSinceBuild = 203
12-
pluginUntilBuild = 222.*
12+
pluginSinceBuild = 222
13+
pluginUntilBuild = 223.*
1314

1415
# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
1516
platformType = IC
16-
platformVersion = 2021.3
17+
platformVersion = 2022.3
1718

1819
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1920
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
2021
platformPlugins =
2122

2223
# Java language level used to compile sources and to generate the files for - Java 11 is required since 2020.3
23-
javaVersion = 11
24+
javaVersion = 17
2425

2526
# Gradle Releases -> https://github.com/gradle/gradle/releases
26-
gradleVersion = 7.4
27+
gradleVersion = 7.5.1
2728

2829
# Opt-out flag for bundling Kotlin standard library.
2930
# See https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library for details.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)