forked from tarpha/torrssen2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
90 lines (69 loc) · 2.67 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
plugins {
id 'org.springframework.boot' version '2.3.3.RELEASE'
id "io.freefair.lombok" version "5.1.1"
id 'java'
}
apply plugin: 'io.spring.dependency-management'
group = 'com.tarpha'
version = '0.9.54'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
jcenter()
}
ext {
swaggerVersion = '2.9.2'
romeVersion = '1.12.0'
httpclientVersion = '4.5.8'
commonsLangVersion = '3.9'
commonsCollectionVersion = '4.3'
commonsIoVersion = '2.6'
commonsCodecVersion = '1.12'
jsonVersion = '20180813'
jsonSmartVersion = '2.3'
asyncHttpClientVersion = '2.10.1'
btVersion = '1.8'
jsoupVersion = '1.13.1'
// htmlunitVersion = '2.55.0'
}
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
implementation {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat'
}
}
springBoot {
buildInfo ()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-undertow'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
implementation "io.springfox:springfox-swagger2:${swaggerVersion}"
implementation "io.springfox:springfox-swagger-ui:${swaggerVersion}"
implementation "com.rometools:rome:${romeVersion}"
implementation "org.apache.httpcomponents:httpclient:${httpclientVersion}"
implementation "org.apache.commons:commons-lang3:${commonsLangVersion}"
implementation "org.apache.commons:commons-collections4:${commonsCollectionVersion}"
implementation "org.json:json:${jsonVersion}"
implementation "commons-io:commons-io:${commonsIoVersion}"
implementation "commons-codec:commons-codec:${commonsCodecVersion}"
implementation "net.minidev:json-smart:${jsonSmartVersion}"
implementation "org.asynchttpclient:async-http-client:${asyncHttpClientVersion}"
// implementation "com.github.atomashpolskiy:bt-core:${btVersion}"
// implementation "com.github.atomashpolskiy:bt-http-tracker-client:${btVersion}"
// implementation "com.github.atomashpolskiy:bt-dht:${btVersion}"
implementation "org.jsoup:jsoup:${jsoupVersion}"
// implementation "net.sourceforge.htmlunit:htmlunit:${htmlunitVersion}"
developmentOnly("org.springframework.boot:spring-boot-devtools")
runtimeOnly 'com.h2database:h2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}