-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathbuild.gradle
40 lines (34 loc) · 1.24 KB
/
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
plugins {
id "java"
id "org.springframework.boot"
id "org.springframework.aot.smoke-test"
id "org.graalvm.buildtools.native"
}
dependencies {
implementation(enforcedPlatform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
implementation(enforcedPlatform("org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"))
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.cloud:spring-cloud-config-server")
testImplementation("org.springframework.boot:spring-boot-starter-test")
appTestImplementation(project(":aot-smoke-test-support"))
appTestImplementation("org.awaitility:awaitility:4.2.1")
}
aotSmokeTest {
webApplication = true
nativeAppTest {
javaVersion = '21'
}
}
graalvmNative {
binaries {
main {
buildArgs('-H:-AddAllFileSystemProviders',
'--strict-image-heap',
'--initialize-at-build-time=org.bouncycastle',
'--initialize-at-build-time=net.i2p.crypto.eddsa.EdDSASecurityProvider',
'--initialize-at-run-time=org.bouncycastle.jcajce.provider.drbg.DRBG$Default',
'--initialize-at-run-time=org.bouncycastle.jcajce.provider.drbg.DRBG$NonceAndIV')
}
}
}