-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
47 lines (40 loc) · 1.18 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
plugins {
id 'java'
id 'idea'
id 'application'
}
group 'com.zwl'
version '1.0-SNAPSHOT'
description '知乎爬虫'
java.sourceCompatibility = JavaVersion.VERSION_17
application {
mainClass = 'com.zwl.CrawlerApp'
}
repositories {
mavenLocal()
maven {
url 'https://maven.aliyun.com/nexus/content/groups/public/'
}
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
implementation 'us.codecraft:webmagic-selenium:0.7.5'
implementation 'us.codecraft:webmagic-core:0.7.5'
implementation 'us.codecraft:webmagic-extension:0.7.5'
implementation 'one.util:streamex:0.8.1'
implementation 'com.google.guava:guava:31.1-jre'
implementation 'com.alibaba.fastjson2:fastjson2:2.0.5'
implementation 'cn.hutool:hutool-all:5.8.1'
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
implementation 'org.slf4j:slf4j-api:1.7.36'
implementation 'ch.qos.logback:logback-core:1.2.11'
implementation 'ch.qos.logback:logback-classic:1.2.11'
implementation 'junit:junit:4.13.2'
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}