-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (30 loc) · 984 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
allprojects {
apply plugin: 'java'
group 'com.celeste'
version '0.0.1-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
def lombok = 'org.projectlombok:lombok:1.18.22'
def annotations = 'org.jetbrains:annotations:22.0.0'
implementation 'com.google.guava:guava:31.0.1-jre'
compileOnly lombok, annotations
annotationProcessor lombok, annotations
def junitVersion = "5.8.2"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
}
jar {
from 'LICENSE'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Jar) {
destinationDirectory.set(file("$rootDir/target/"))
}
}