diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml
index e1eea1d..217e5c5 100644
--- a/.idea/kotlinc.xml
+++ b/.idea/kotlinc.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/build.gradle.kts b/build.gradle.kts
index 185846b..4f75a48 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,22 +1,11 @@
-buildscript {
- repositories {
- mavenCentral()
- maven(url = "https://jitpack.io")
- maven(url = "https://maven.aliyun.com/repository/central")
- maven(url = "https://maven.aliyun.com/repository/public")
- maven(url = "https://maven.aliyun.com/repository/gradle-plugin")
- maven(url = "https://maven.aliyun.com/repository/google")
- }
-}
-
plugins {
id("java")
- id("org.jetbrains.kotlin.jvm") version "1.7.20"
- id("org.jetbrains.intellij") version "1.13.1"
+ id("org.jetbrains.kotlin.jvm") version "1.8.21"
+ id("org.jetbrains.intellij") version "1.13.3"
}
group = "com.larboy1991.idea.plugin"
-version = "0.0.7"
+version = "0.0.8"
repositories {
mavenCentral()
@@ -25,7 +14,7 @@ repositories {
// Configure Gradle IntelliJ Plugin
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
intellij {
- version.set("2022.2.4")
+ version.set("2022.2.5")
type.set("IC") // Target IDE Platform
plugins.set(listOf("java", "Kotlin"))
}
@@ -35,11 +24,11 @@ intellij {
tasks {
// Set the JVM compatibility versions
withType {
- sourceCompatibility = "11"
- targetCompatibility = "11"
+ sourceCompatibility = "17"
+ targetCompatibility = "17"
}
withType {
- kotlinOptions.jvmTarget = "11"
+ kotlinOptions.jvmTarget = "17"
}
patchPluginXml {
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 0000000..2bca45c
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,3 @@
+kotlin.stdlib.default.dependency=false
+# TODO temporary workaround for Kotlin 1.8.20+ (https://jb.gg/intellij-platform-kotlin-oom)
+kotlin.incremental.useClasspathSnapshot=false
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index ae04661..8049c68 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/release/JKDoc-0.0.8.jar b/release/JKDoc-0.0.8.jar
new file mode 100644
index 0000000..06c4997
Binary files /dev/null and b/release/JKDoc-0.0.8.jar differ
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 3d61eaf..d7aab7c 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -1 +1,7 @@
+pluginManagement {
+ repositories {
+ mavenCentral()
+ gradlePluginPortal()
+ }
+}
rootProject.name = "JKDoc"
\ No newline at end of file
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml
index 44f023b..06fa37e 100644
--- a/src/main/resources/META-INF/plugin.xml
+++ b/src/main/resources/META-INF/plugin.xml
@@ -39,6 +39,7 @@
order="first"/>