-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
37 lines (29 loc) · 863 Bytes
/
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
wrapper {
distributionType = Wrapper.DistributionType.ALL
}
ext.junitJupiterVersion = '5.5.1'
apply plugin: 'java'
apply plugin: 'application'
mainClassName = 'com.roiex.linkchecker.LinkChecker'
sourceCompatibility = 11
targetCompatibility = 11
jar {
manifest {
attributes 'Main-Class': mainClassName
}
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
}
repositories {
jcenter()
}
test {
useJUnitPlatform()
}
dependencies {
implementation 'org.jsoup:jsoup:1.10.2'
implementation 'org.apache.httpcomponents:httpclient:4.5.3'
implementation 'commons-cli:commons-cli:1.4'
testImplementation 'org.mockito:mockito-core:2.8.9'
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}"
testRuntime "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
}