-
Notifications
You must be signed in to change notification settings - Fork 136
/
build.gradle
56 lines (46 loc) · 1.1 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.4.14'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
}
apply plugin: "java"
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'kotlin'
group 'com.star.easydoc'
version '4.3.1'
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
// See https://github.com/JetBrains/gradle-intellij-plugin/
// See https://www.jetbrains.com/intellij-repository/releases
intellij {
plugins = ['Kotlin']
// plugins 'java'
version '2019.1'
pluginName 'Easy Javadoc'
updateSinceUntilBuild false
}
dependencies {
implementation 'com.alibaba.fastjson2:fastjson2:2.0.21'
implementation 'com.auth0:java-jwt:4.4.0'
}
//配置编码格式
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
task fatJar(type: Jar) {
manifest.from jar.manifest
classifier = 'all'
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}