Skip to content

Commit e80f152

Browse files
committed
✨ 依赖升级支持编译
1 parent 53c5713 commit e80f152

File tree

6 files changed

+17
-42
lines changed

6 files changed

+17
-42
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@
2222
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2323
hs_err_pid*
2424

25+
### gradle ###
26+
.gradle
27+
!gradle/wrapper/gradle-wrapper.jar
28+
2529
.idea/
26-
.gradle/
2730
*.iml
2831

2932
build/

build.gradle

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id 'java'
3-
id 'org.jetbrains.intellij' version '0.4.14'
4-
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
3+
id 'org.jetbrains.intellij' version '1.17.4'
4+
id 'org.jetbrains.kotlin.jvm' version '1.9.25'
55
}
66

77
apply plugin: "java"
@@ -16,41 +16,30 @@ repositories {
1616
}
1717

1818
compileKotlin {
19-
kotlinOptions.jvmTarget = "1.8"
19+
kotlinOptions.jvmTarget = "11"
2020
}
2121
compileTestKotlin {
22-
kotlinOptions.jvmTarget = "1.8"
22+
kotlinOptions.jvmTarget = "11"
2323
}
2424

25-
sourceCompatibility = 1.8
26-
targetCompatibility = 1.8
25+
sourceCompatibility = 11
26+
targetCompatibility = 11
2727

2828
// See https://github.com/JetBrains/gradle-intellij-plugin/
2929
// See https://www.jetbrains.com/intellij-repository/releases
3030
intellij {
3131
plugins = ['Kotlin']
32-
// plugins 'java'
33-
version '2019.1'
34-
pluginName 'Easy Javadoc'
35-
updateSinceUntilBuild false
32+
version = "2022.1.1"
33+
type = "IU"
34+
updateSinceUntilBuild.set(false)
3635
}
3736

3837
dependencies {
39-
implementation 'com.alibaba.fastjson2:fastjson2:2.0.21'
38+
implementation 'com.alibaba.fastjson2:fastjson2:2.0.57'
4039
implementation 'com.auth0:java-jwt:4.4.0'
4140
}
4241

4342
//配置编码格式
4443
tasks.withType(JavaCompile) {
4544
options.encoding = "UTF-8"
4645
}
47-
48-
49-
task fatJar(type: Jar) {
50-
manifest.from jar.manifest
51-
classifier = 'all'
52-
from {
53-
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
54-
}
55-
with jar
56-
}

gradle/wrapper/gradle-wrapper.jar

62.2 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Thu Sep 05 00:21:33 CST 2019
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://mirrors.tencent.com/gradle/gradle-8.5-all.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists
6-
distributionUrl=https://mirrors.aliyun.com/macports/distfiles/gradle/gradle-8.12-bin.zip

src/main/resources/META-INF/plugin.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,5 @@
7777
</action>
7878
</actions>
7979

80-
<depends>com.intellij.modules.java</depends>
8180
<depends>org.jetbrains.kotlin</depends>
8281
</idea-plugin>

src/test/java/com/star/easydoc/MainTest.java

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)