-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
103 lines (69 loc) · 3.06 KB
/
build.gradle
File metadata and controls
103 lines (69 loc) · 3.06 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
apply plugin: 'java'
apply plugin: 'maven'
// --- CONFIGURATIONS ---
configurations {
runtime
ecj
}
configurations.all {
// resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
// --- REPOSITORIES ---
repositories {
mavenCentral()
jcenter()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
// --- DEPENDENCIES ---
dependencies {
// ============== COMPILATION =============
testCompile 'junit:junit:4.12'
ecj 'org.eclipse.jdt.core.compiler:ecj:4.4.2'
// =============== LOGGING ===============
// http://mvnrepository.com/artifact/org.slf4j/slf4j-api
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30'
// http://mvnrepository.com/artifact/org.slf4j/slf4j-jdk14
compile group: 'org.slf4j', name: 'slf4j-jdk14', version: '1.7.30'
// https://mvnrepository.com/artifact/org.slf4j/log4j-over-slf4j
compile group: 'org.slf4j', name: 'log4j-over-slf4j', version: '1.7.30'
// https://mvnrepository.com/artifact/org.slf4j/jcl-over-slf4j
compile group: 'org.slf4j', name: 'jcl-over-slf4j', version: '1.7.30'
// =============== MOLECULER ===============
// Moleculer core
compile group: 'com.github.berkesa', name: 'moleculer-java-web', version: '1.2.11'
// =========== SPRING FRAMEWORK ============
// https://mvnrepository.com/artifact/org.springframework/spring-context
compile group: 'org.springframework', name: 'spring-context', version: '5.2.9.RELEASE'
// ============ GUAVA EVENT BUS ============
// https://mvnrepository.com/artifact/com.google.guava/guava
compile group: 'com.google.guava', name: 'guava', version: '29.0-jre'
// ============ VERTX EVENT BUS ============
// https://mvnrepository.com/artifact/io.vertx/vertx-core
compile group: 'io.vertx', name: 'vertx-core', version: '3.9.3'
// ============= AKKA EVENT BUS ============
// https://mvnrepository.com/artifact/com.typesafe.akka/akka-actor
compile group: 'com.typesafe.akka', name: 'akka-actor_2.12', version: '2.6.10'
// =========== SPRING BOOT WEB ============
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web
compile (group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '2.3.4.RELEASE') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
exclude group: 'org.springframework', module: 'spring-jcl'
}
// ========== ASYNC HTTP CLIENT ============
// https://mvnrepository.com/artifact/org.apache.httpcomponents/httpasyncclient
compile group: 'org.apache.httpcomponents', name: 'httpasyncclient', version: '4.1.4'
// https://mvnrepository.com/artifact/org.apache.httpcomponents/httpmime
compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.5.13'
}
// --- COMPILATION ---
compileJava {
options.fork = true
options.forkOptions.with {
executable = 'java'
jvmArgs = ['-classpath', project.configurations.ecj.asPath, 'org.eclipse.jdt.internal.compiler.batch.Main', '-nowarn']
}
}
// --- TESTING ---
test {
systemProperty 'java.util.logging.SimpleFormatter.format', '%4$-7s %5$s %n'
}