-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (35 loc) · 870 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
42
plugins {
id 'java-library'
id 'maven-publish'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
implementation 'com.launchdarkly:okhttp-eventsource:1.11.2'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'org.jetbrains:annotations:16.0.2'
implementation 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
}
targetCompatibility = 11
sourceCompatibility = 11
publishing {
publications {
maven(MavenPublication) {
groupId = 'co.saweria'
version = '1.0'
artifactId = rootProject.name
from components.java
}
}
}
test {
useJUnit()
maxHeapSize = '1G'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}