Skip to content

Commit 5d44cb0

Browse files
pfouillouxBlackHole1Copilot
authored
feat: add configurable custom path lookup (#46)
* build: update jvm toolchain to 17 * build: update gradle to 8.13 and minimum intellij to 2022.3.3 * build: update gradle plugins * chore: bump dependencies * feat(settings): add settings page to configure custom search paths * chore: remove unecessary dependency on kotlinx coroutines * chore: bump version * chore: add trailing newline to kotlin files * Update src/main/kotlin/com/github/blackhole1/ideaspellcheck/settings/SCProjectConfigurable.kt Co-authored-by: Kevin Cui <github@bugs.cc> * Update src/main/kotlin/com/github/blackhole1/ideaspellcheck/settings/SCProjectSettings.kt Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Kevin Cui <github@bugs.cc> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7f4632b commit 5d44cb0

File tree

10 files changed

+279
-127
lines changed

10 files changed

+279
-127
lines changed

build.gradle.kts

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,22 @@ plugins {
77
// Java support
88
id("java")
99
// Kotlin support
10-
id("org.jetbrains.kotlin.jvm") version "1.7.21"
10+
id("org.jetbrains.kotlin.jvm") version "2.1.20"
1111
// Gradle IntelliJ Plugin
12-
id("org.jetbrains.intellij") version "1.10.1"
12+
id("org.jetbrains.intellij") version "1.17.4"
1313
// Gradle Changelog Plugin
14-
id("org.jetbrains.changelog") version "2.0.0"
14+
id("org.jetbrains.changelog") version "2.2.1"
1515
// Gradle Qodana Plugin
1616
id("org.jetbrains.qodana") version "0.1.13"
1717
// Gradle Kover Plugin
18-
id("org.jetbrains.kotlinx.kover") version "0.6.1"
18+
id("org.jetbrains.kotlinx.kover") version "0.9.1"
1919

20-
kotlin("plugin.serialization") version "1.7.21"
20+
kotlin("plugin.serialization") version "2.1.20"
2121
}
2222

2323
dependencies {
24-
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1")
25-
implementation("net.mamoe.yamlkt:yamlkt:0.12.0")
26-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
24+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.1")
25+
implementation("net.mamoe.yamlkt:yamlkt:0.13.0")
2726
}
2827

2928
group = properties("pluginGroup")
@@ -36,7 +35,7 @@ repositories {
3635

3736
// Set the JVM language level used to build project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+.
3837
kotlin {
39-
jvmToolchain(11)
38+
jvmToolchain(17)
4039
}
4140

4241
// Configure Gradle IntelliJ Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
@@ -64,8 +63,12 @@ qodana {
6463
}
6564

6665
// Configure Gradle Kover Plugin - read more: https://github.com/Kotlin/kotlinx-kover#configuration
67-
kover.xmlReport {
68-
onCheck.set(true)
66+
kover {
67+
reports {
68+
total {
69+
xml.onCheck = true
70+
}
71+
}
6972
}
7073

7174
tasks {

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ pluginGroup = com.github.blackhole1.ideaspellcheck
44
pluginName = CSpell Check
55
pluginRepositoryUrl = https://github.com/BlackHole1/idea-spell-check
66
# SemVer format -> https://semver.org
7-
pluginVersion = 0.0.12
7+
pluginVersion = 0.1.0
88

99
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
10-
pluginSinceBuild = 213
10+
pluginSinceBuild = 223
1111
pluginUntilBuild = 251.*
1212

1313
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
1414
platformType = IU
15-
platformVersion = 2021.3.3
15+
platformVersion = 2022.3.3
1616

1717
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1818
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
1919
platformPlugins = NodeJS
2020

2121
# Gradle Releases -> https://github.com/gradle/gradle/releases
22-
gradleVersion = 7.5.1
22+
gradleVersion = 8.13
2323

2424
# Opt-out flag for bundling Kotlin standard library -> https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library
2525
# suppress inspection "UnusedProperty"

gradle/wrapper/gradle-wrapper.jar

-16.7 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

gradlew

Lines changed: 24 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 94 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)