-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
66 lines (53 loc) · 1.66 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}
plugins {
id 'com.github.johnrengelman.shadow' version '5.1.0'
}
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
apply plugin: 'application'
mainClassName = "net.yacy.grid.base.Base"
applicationDefaultJvmArgs = ["-Xmx1024m"]
group = 'net.yacy'
version = '0.0.1-SNAPSHOT'
description = "YaCy Grid Base"
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
jar {
manifest {
attributes 'Main-Class': 'net.yacy.grid.base.Base'
}
}
shadowJar {
mergeServiceFiles()
from('conf') {
into 'conf'
}
}
assemble.dependsOn shadowJar
dependencies {
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.+'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.+'
compile group: 'commons-io', name: 'commons-io', version: '2.+'
compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.+'
compile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.4.+'
compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.4.+'
compile group: 'javax.servlet', name: 'javax.servlet-api', version: '4.+'
compile group: 'commons-net', name: 'commons-net', version: '3.+'
compile group: 'jcifs', name: 'jcifs', version: '1.+'
compile group: 'org.eclipse.jgit', name: 'org.eclipse.jgit', version: '5.6.0.201912101111-r'
compile group: 'com.google.guava', name: 'guava', version: 'r05'
}