-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (31 loc) · 917 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
38
39
40
41
group 'com.github.usmanovbf'
version '1.0'
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
task assembleJar(type: Jar) {
manifest {
attributes 'Implementation-Version': version,
'Main-Class': 'com.github.usmanovbf.App'
}
baseName = 'multi-thread-pagerank'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
build.dependsOn assembleJar
dependencies {
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
compile group: 'org.jsoup', name: 'jsoup', version: '1.10.2'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
task copyJar(type: Copy){
from 'build/libs/multi-thread-pagerank-1.0.jar'
into 'app/'
}
build.dependsOn copyJar
clean{
delete 'app/'
}