-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
69 lines (58 loc) · 2 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
allprojects {
apply plugin: 'maven'
group = 'com.winbaoxian.clawler'
version = '1.0.0'
}
subprojects {
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.5.19.RELEASE'
}
}
apply plugin: 'java'
apply plugin: 'idea'
sourceCompatibility = 1.8
repositories {
mavenLocal()
maven { url "http://192.168.180.191:8081/nexus/content/repositories/public" }
maven { url "http://192.168.180.191:8081/nexus/content/repositories/snapshots/" }
maven { url "https://nexus.winbaoxian.cn/repository/maven-public/" }
maven { url "https://nexus.winbaoxian.cn/repository/maven-snapshots/" }
maven { url 'https://maven.aliyun.com/repository/public' }
maven {
credentials {
username 'YqEg7E'
password 'kqPhqT56Db'
}
url 'https://repo.rdc.aliyun.com/repository/77327-snapshot-eSlStJ/'
}
mavenCentral()
}
ext['selenium.version'] = '4.0.0-alpha-6'
dependencies {
compile 'org.apache.commons:commons-lang3:3.7'
compile 'commons-beanutils:commons-beanutils:1.9.3'
compileOnly 'org.projectlombok:lombok:1.16.22'
compile 'org.mapstruct:mapstruct-jdk8:1.2.0.Final'
compile 'org.mapstruct:mapstruct-processor:1.2.0.Final'
compile 'org.mongodb:mongo-java-driver:3.10.1'
compile 'mysql:mysql-connector-java:8.0.15'
compile 'commons-codec:commons-codec:1.13'
compile 'commons-io:commons-io:2.7'
compile 'org.seleniumhq.selenium:selenium-java:4.0.0-alpha-6'
}
task "create-dirs" << {
sourceSets*.java.srcDirs*.each { it.mkdirs() }
sourceSets*.resources.srcDirs*.each { it.mkdirs() }
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
}
task wrapper(type: Wrapper) {
gradleVersion = '3.4'
distributionType = 'all'
}