-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
52 lines (40 loc) · 1.43 KB
/
build.gradle
File metadata and controls
52 lines (40 loc) · 1.43 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.4.0'
id 'io.spring.dependency-management' version '1.1.6'
id 'org.graalvm.buildtools.native' version '0.10.3'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb'
implementation 'com.amazonaws.serverless:aws-serverless-java-container-springboot3:2.0.2'
implementation 'com.amazonaws:aws-lambda-java-core:1.2.3'
implementation 'com.amazonaws:aws-lambda-java-events:3.14.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation "org.springframework.boot:spring-boot-testcontainers"
testImplementation 'org.testcontainers:mongodb'
testImplementation "org.testcontainers:junit-jupiter"
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testRuntimeOnly 'org.springframework.boot:spring-boot-starter-tomcat'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
}
tasks.register('buildZip', Zip) {
from compileJava
from processResources
into('lib') {
from(configurations.compileClasspath)
}
}
tasks.register('buildNativeZip', Zip) {
from nativeCompile
from "src/main/shell/bootstrap"
}
tasks.named('test') {
useJUnitPlatform()
}