Skip to content

Commit ab64aba

Browse files
committed
Upgrade all plugins/dependencies and Gradle
1 parent b7cf932 commit ab64aba

File tree

9 files changed

+19
-25
lines changed

9 files changed

+19
-25
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ buildscript {
1717

1818
plugins {
1919
id 'java'
20-
id 'org.jetbrains.kotlin.jvm' version '2.1.0'
21-
id 'com.ncorti.ktfmt.gradle' version '0.21.0'
20+
id 'org.jetbrains.kotlin.jvm' version '2.1.21'
21+
id 'com.ncorti.ktfmt.gradle' version '0.22.0'
2222
}
2323

2424
group 'kdocformatter'

gradle-plugin/build.gradle

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ buildscript {
1717

1818
plugins {
1919
id 'java'
20-
id 'org.jetbrains.kotlin.jvm' version '2.0.20'
20+
id 'org.jetbrains.kotlin.jvm' version '2.1.21'
2121
id 'java-gradle-plugin'
2222
id 'maven-publish'
23-
id 'com.gradle.plugin-publish' version '0.9.10'
24-
id 'com.ncorti.ktfmt.gradle' version '0.20.1'
23+
id 'com.gradle.plugin-publish' version '1.3.1'
24+
id 'com.ncorti.ktfmt.gradle' version '0.22.0'
2525
}
2626

2727
// https://issues.sonatype.org/browse/OSSRH-63191
@@ -58,25 +58,16 @@ kotlin {
5858
}
5959

6060
gradlePlugin {
61-
plugins {
62-
kdocformatter {
63-
id = "kdoc-formatter"
64-
displayName = 'KDoc Formatting'
65-
implementationClass = "kdocformatter.gradle.KDocFormatterPlugin"
66-
}
67-
}
68-
}
69-
70-
pluginBundle {
7161
website = 'https://github.com/tnorbye/kdoc-formatter'
7262
vcsUrl = 'https://github.com/tnorbye/kdoc-formatter.git'
73-
tags = ['kotlin', 'kdoc', 'formatter', 'formatting']
7463

7564
plugins {
7665
kdocformatter {
7766
id = "kdoc-formatter"
7867
displayName = 'KDoc Formatting'
7968
description = 'Plugin which can reformat Kotlin KDoc comments'
69+
implementationClass = "kdocformatter.gradle.KDocFormatterPlugin"
70+
tags.set(['kotlin', 'kdoc', 'formatter', 'formatting'])
8071
}
8172
}
8273
}
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-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-all.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

gradle/wrapper/gradle-wrapper.jar

181 Bytes
Binary file not shown.

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.12-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ case "$( uname )" in #(
114114
NONSTOP* ) nonstop=true ;;
115115
esac
116116

117-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
117+
CLASSPATH="\\\"\\\""
118118

119119

120120
# Determine the Java command to use to start the JVM.
@@ -205,15 +205,15 @@ fi
205205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
206206

207207
# Collect all arguments for the java command:
208-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
209209
# and any embedded shellness will be escaped.
210210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
211211
# treated as '${Hostname}' itself on the command line.
212212

213213
set -- \
214214
"-Dorg.gradle.appname=$APP_BASE_NAME" \
215215
-classpath "$CLASSPATH" \
216-
org.gradle.wrapper.GradleWrapperMain \
216+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
217217
"$@"
218218

219219
# Stop when "xargs" is not available.

gradlew.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ goto fail
7070
:execute
7171
@rem Setup the command line
7272

73-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73+
set CLASSPATH=
7474

7575

7676
@rem Execute Gradle
77-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
77+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
7878

7979
:end
8080
@rem End local scope for the variables with windows NT shell

ide-plugin/CHANGELOG.md

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

33
# KDoc Formatter Plugin Changelog
44

5+
## [1.6.8]
6+
- Add support for IJP 2025.2 EAP
7+
58
## [1.6.7]
69
- Updated code to replace deprecated API usages
710
- Fix issue #104: Include type parameters in parameter list reordering

ide-plugin/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ private fun properties(key: String) = project.findProperty(key).toString()
99
plugins {
1010
id("java")
1111
id("org.jetbrains.kotlin.jvm")
12-
id("org.jetbrains.intellij.platform") version "2.2.1"
12+
id("org.jetbrains.intellij.platform") version "2.6.0"
1313
id("org.jetbrains.changelog") version "2.2.1"
1414
id("com.android.lint")
1515
id("com.ncorti.ktfmt.gradle")
@@ -26,8 +26,8 @@ version = pluginVersion
2626

2727
repositories {
2828
google()
29-
intellijPlatform { defaultRepositories() }
3029
mavenCentral()
30+
intellijPlatform { defaultRepositories() }
3131
}
3232

3333
intellijPlatform { pluginConfiguration { name = properties("pluginName") } }

0 commit comments

Comments
 (0)