forked from publicplan/yacy_grid_mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (54 loc) · 1.57 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
plugins {
id 'java'
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
archivesBaseName = 'yacy_grid_mcp'
mainClassName = "net.yacy.grid.mcp.MCP"
applicationDefaultJvmArgs = ["-Xmx1024m"]
group = 'net.yacy'
version = '0.0.1-SNAPSHOT'
description = "YaCy Grid MCP"
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
run {
jvmArgs = [
'-Dhazelcast.config=./conf/hazelcast.yaml',
'-Dhazelcast.diagnostics.enabled=true'
];
}
jar {
manifest {
attributes 'Main-Class': 'net.yacy.grid.mcp.MCP'
}
}
shadowJar {
zip64 true
exclude 'data'
}
dependencies {
implementation 'com.hazelcast:hazelcast:5.1.+'
implementation 'com.rabbitmq:amqp-client:5.14.+'
implementation 'commons-net:commons-net:3.+'
implementation 'io.minio:minio:8.3.+'
implementation 'javax.servlet:javax.servlet-api:4.+'
implementation 'jcifs:jcifs:1.+'
implementation 'org.apache.httpcomponents:httpmime:4.+'
implementation 'org.eclipse.jetty:jetty-server:9.4.+'
implementation 'org.eclipse.jetty:jetty-servlet:9.4.+'
implementation 'org.eclipse.jgit:org.eclipse.jgit:5.+'
implementation 'org.elasticsearch.client:transport:6.8.+'
implementation 'org.mapdb:mapdb:3.+'
implementation 'org.slf4j:log4j-over-slf4j:1.7.+'
implementation 'org.slf4j:slf4j-jdk14:1.7.+'
implementation 'org.apache.logging.log4j:log4j-to-slf4j:2.17.+'
}