Skip to content

Commit 80078cc

Browse files
committed
intellij: 0.1.3+242
1 parent 37385b0 commit 80078cc

File tree

8 files changed

+30
-28
lines changed

8 files changed

+30
-28
lines changed

intellij/build.gradle.kts

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,12 @@ repositories {
2121

2222
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog
2323
dependencies {
24-
// implementation(libs.annotations)
24+
// implementation(libs.exampleLibrary)
2525
}
2626

27-
// Set the JVM language level used to build the project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+.
27+
// Set the JVM language level used to build the project.
2828
kotlin {
29-
jvmToolchain {
30-
languageVersion = JavaLanguageVersion.of(17)
31-
@Suppress("UnstableApiUsage")
32-
vendor = JvmVendorSpec.JETBRAINS
33-
}
29+
jvmToolchain(17)
3430
}
3531

3632
// Configure Gradle IntelliJ Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
@@ -50,10 +46,12 @@ changelog {
5046
}
5147

5248
// Configure Gradle Kover Plugin - read more: https://github.com/Kotlin/kotlinx-kover#configuration
53-
koverReport {
54-
defaults {
55-
xml {
56-
onCheck = true
49+
kover {
50+
reports {
51+
total {
52+
xml {
53+
onCheck = true
54+
}
5755
}
5856
}
5957
}
@@ -73,7 +71,7 @@ tasks {
7371
val start = "<!-- Plugin description -->"
7472
val end = "<!-- Plugin description end -->"
7573

76-
with (it.lines()) {
74+
with(it.lines()) {
7775
if (!containsAll(listOf(start, end))) {
7876
throw GradleException("Plugin description section not found in README.md:\n$start ... $end")
7977
}
@@ -116,6 +114,6 @@ tasks {
116114
// The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3
117115
// Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:
118116
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
119-
channels = properties("pluginVersion").map { listOf(it.split('-').getOrElse(1) { "default" }.split('.').first()) }
117+
channels = properties("pluginVersion").map { listOf(it.substringAfter('-', "").substringBefore('.').ifEmpty { "default" }) }
120118
}
121119
}

intellij/gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ pluginGroup = org.basedsoft.plugins.basedtyping
44
pluginName = basedtyping
55
pluginRepositoryUrl = https://github.com/KotlinIsland/basedtyping
66
# SemVer format -> https://semver.org
7-
pluginVersion = 0.1.3
7+
pluginVersion = 0.1.3+242
88

99
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010
pluginSinceBuild = 233
11-
pluginUntilBuild = 241.*
11+
pluginUntilBuild = 242.*
1212

1313
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
1414
platformType = PC
15-
platformVersion = 2023.3.3
15+
platformVersion = 2023.3.6
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 = PythonCore
2020

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

2424
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
2525
kotlin.stdlib.default.dependency = false

intellij/gradle/libs.versions.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
[versions]
22
# libraries
3-
annotations = "24.1.0"
3+
exampleLibrary = "24.1.0"
44

55
# plugins
6-
kotlin = "1.9.22"
7-
changelog = "2.2.0"
8-
gradleIntelliJPlugin = "1.17.1"
9-
kover = "0.7.5"
10-
6+
kotlin = "2.0.0"
7+
changelog = "2.2.1"
8+
gradleIntelliJPlugin = "1.17.4"
9+
kover = "0.8.1"
1110

1211
[libraries]
13-
annotations = { group = "org.jetbrains", name = "annotations", version.ref = "annotations" }
12+
exampleLibrary = { group = "com.example", name = "exampleLibrary", version.ref = "exampleLibrary" }
1413

1514
[plugins]
1615
changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
42 Bytes
Binary file not shown.

intellij/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

intellij/gradlew

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,8 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90+
' "$PWD" ) || exit
8891

8992
# Use the maximum available, or set MAX_FD != -1 to use that value.
9093
MAX_FD=maximum

intellij/gradlew.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################

intellij/settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
2+
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
33
}
44

55
rootProject.name = "basedtyping"

0 commit comments

Comments
 (0)