-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.gradle
51 lines (43 loc) · 1.63 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
40
41
42
43
44
45
46
47
48
49
50
51
plugins {
id 'de.undercouch.download' version '5.4.0'
// id 'org.graalvm.buildtools.native' version '0.9.23'
id 'org.graalvm.buildtools.native' version '0.9.28'
}
configure(subprojects) {
group = "cn.taketoday.samples"
apply plugin: 'java'
apply plugin: "infra.application"
// apply plugin: "infra.application.aot"
apply plugin: 'org.graalvm.buildtools.native'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
graalvmNative {
toolchainDetection = true
testSupport = false
}
repositories {
mavenLocal()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/snapshot" }
mavenCentral()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testImplementation("org.junit.platform:junit-platform-suite-api")
testImplementation("org.mockito:mockito-core")
testImplementation("org.mockito:mockito-junit-jupiter")
testImplementation("junit:junit")
testImplementation("org.assertj:assertj-core")
testImplementation 'org.projectlombok:lombok'
testAnnotationProcessor("org.projectlombok:lombok")
// Pull in the latest JUnit 5 Launcher API to ensure proper support in IDEs.
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.platform:junit-platform-suite-engine")
}
}
configure(rootProject) {
description = "Infrastructure Samples"
}