Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
82 lines (75 loc) · 2.75 KB
/
Copy pathbuild.gradle
File metadata and controls
82 lines (75 loc) · 2.75 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
plugins {
id 'org.springframework.boot' version '2.1.5.RELEASE' apply false
id 'com.google.protobuf' version '0.8.8' apply false
}
subprojects {
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'io.spring.dependency-management'
group 'com.netifi.acme'
version '1.0.0.BUILD-SNAPSHOT'
dependencyManagement {
imports {
mavenBom "com.netifi:netifi-bom:${netifiBomVersion}"
mavenBom "io.projectreactor:reactor-bom:${reactorBomVersion}"
}
dependencies {
dependency "com.google.protobuf:protobuf-java:${protobufVersion}"
dependency "com.google.protobuf:protoc:${protobufVersion}"
dependency "io.netty:netty-tcnative-boringssl-static:${nettyTcnativeVersion}"
dependency "io.netty:netty-tcnative:${nettyTcnativeVersion}"
dependency 'junit:junit:4.12'
}
}
repositories {
jcenter()
maven {
url 'http://repo.spring.io/libs-milestone'
}
maven {
url 'http://repo.spring.io/libs-milestone'
}
maven {
url 'https://sonatype.netifiinc.com/repository/netifi-maven-snapshots/'
credentials {
username = "${netifiReadOnlyUsername}"
password = "${netifiReadOnlyPassword}"
}
}
maven {
url 'https://sonatype.netifiinc.com/repository/netifi-oss/'
credentials {
username = "${netifiReadOnlyUsername}"
password = "${netifiReadOnlyPassword}"
}
}
maven {
url 'https://sonatype.netifiinc.com/repository/netifi-maven-releases/'
credentials {
username = "${netifiReadOnlyUsername}"
password = "${netifiReadOnlyPassword}"
}
}
}
sourceCompatibility = 1.8
plugins.withType(ApplicationPlugin) {
applicationDefaultJvmArgs = [
'-XshowSettings:vm',
'-XX:+UseG1GC',
'-XX:MaxGCPauseMillis=200',
'-XX:+AlwaysPreTouch',
'-XX:+UseStringDeduplication',
'-XX:+ExplicitGCInvokesConcurrent',
'-XX:+ParallelRefProcEnabled',
'-XX:InitialRAMPercentage=10',
'-XX:MinRAMPercentage=10',
'-XX:MaxRAMPercentage=70',
'-XX:+UnlockExperimentalVMOptions',
'-XX:+UseCGroupMemoryLimitForHeap',
'-XX:MaxDirectMemorySize=256M',
'-XX:+IgnoreUnrecognizedVMOptions',
'-Xlog:gc:gc.log::filecount=10,filesize=100M',
'-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector'
]
}
}