-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
72 lines (60 loc) · 2.71 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
buildscript {
repositories {
mavenLocal()
maven { url "https://maven.aliyun.com/repository/public" }
maven { url "https://maven.aliyun.com/repository/gradle-plugin" }
maven { url "https://maven.aliyun.com/repository/spring-plugin" }
maven { url "https://maven.aliyun.com/repository/spring" }
maven { url "https://maven.aliyun.com/repository/apache-snapshots" }
maven { url 'https://www.jitpack.io' }
}
dependencies {
classpath "gradle.plugin.com.gorylenko.gradle-git-properties:gradle-git-properties:1.5.1"
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5"
classpath "org.springframework.boot:spring-boot-gradle-plugin:${spring_boot_version}"
classpath "org.springframework.build.gradle:propdeps-plugin:0.0.7"
classpath "com.moowork.gradle:gradle-node-plugin:1.1.1"
classpath "io.spring.gradle:dependency-management-plugin:0.6.1.RELEASE"
}
}
group 'com.github.wuchao'
version '1.0-SNAPSHOT'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
repositories {
mavenLocal()
maven { url "https://maven.aliyun.com/repository/public" }
maven { url "https://maven.aliyun.com/repository/gradle-plugin" }
maven { url "https://maven.aliyun.com/repository/spring-plugin" }
maven { url "https://maven.aliyun.com/repository/spring" }
maven { url "https://maven.aliyun.com/repository/apache-snapshots" }
maven { url 'https://www.jitpack.io' }
maven { url 'http://repository.aspose.com/repo/' }
}
dependencies {
compile fileTree(dir: 'lib', include: ['*.jar'])
compile "org.springframework.boot:spring-boot-starter-test"
compile("org.springframework.boot:spring-boot-starter-web") {
exclude module: 'spring-boot-starter-tomcat'
exclude module: 'logback-classic'
}
compile("org.springframework.boot:spring-boot-starter-undertow")
compile "org.springframework.boot:spring-boot-starter-thymeleaf"
compile "org.apache.commons:commons-lang3:${commons_lang_version}"
compile "commons-io:commons-io:${commons_io_version}"
compile "org.apache.logging.log4j:log4j-api:${log4j_version}"
compile "org.apache.logging.log4j:log4j-core:${log4j_version}"
compile "org.apache.tika:tika-core:${tika_core}"
// https://mvnrepository.com/artifact/org.apache.tika/tika-parsers
compile "org.apache.tika:tika-parsers:1.26"
// 从远程仓库下载依赖较慢,改成从项目中的 lib 导入依赖
// compile "com.aspose:aspose-cad:20.10"
compile "com.zaxxer:nuprocess:2.0.0"
testCompile "junit:junit"
}
wrapper {
gradleVersion = '6.5'
}