Skip to content

Commit

Permalink
feat:更新支持的ide版本,版本号更新0.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
xuchongsheng2 committed Feb 19, 2024
1 parent d8a4472 commit 3ea78ef
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 7 additions & 18 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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()
Expand All @@ -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"))
}
Expand All @@ -35,11 +24,11 @@ intellij {
tasks {
// Set the JVM compatibility versions
withType<JavaCompile> {
sourceCompatibility = "11"
targetCompatibility = "11"
sourceCompatibility = "17"
targetCompatibility = "17"
}
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "11"
kotlinOptions.jvmTarget = "17"
}

patchPluginXml {
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
Binary file added release/JKDoc-0.0.8.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
}
rootProject.name = "JKDoc"
1 change: 1 addition & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
order="first"/>

<applicationConfigurable groupId="tools"
displayName="JKDoc 设置"
id="com.zhz.idea.plugin.jkdoc.applicationConfigurable"
instance="com.zhz.idea.plugin.jkdoc.setting.JKDocConfigureFormImpl"/>

Expand Down

0 comments on commit 3ea78ef

Please sign in to comment.