-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathbuild.gradle
43 lines (40 loc) · 1.41 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
/*
* Copyright and related rights waived via CC0
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
plugins {
id "org.graalvm.internal.tck"
}
String libraryVersion = tck.testedLibraryVersion.get()
dependencies {
testImplementation "org.eclipse.jetty:jetty-server:$libraryVersion"
testImplementation "org.eclipse.jetty:jetty-servlet:$libraryVersion"
testImplementation "org.eclipse.jetty:jetty-webapp:$libraryVersion"
testImplementation "org.eclipse.jetty.websocket:websocket-jetty-server:$libraryVersion"
testImplementation "org.eclipse.jetty.websocket:websocket-jakarta-server:$libraryVersion"
testImplementation "org.eclipse.jetty.websocket:websocket-jetty-client:$libraryVersion"
testImplementation 'org.assertj:assertj-core:3.22.0'
testImplementation 'org.slf4j:slf4j-simple:2.0.3'
}
graalvmNative {
binaries {
test {
buildArgs.add('--enable-preview')
}
}
agent {
defaultMode = "conditional"
modes {
conditional {
userCodeFilterPath = "user-code-filter.json"
}
}
metadataCopy {
mergeWithExisting = false
inputTaskNames.add("test")
outputDirectories.add("src/test/resources/META-INF/native-image/org.eclipse.jetty/jetty-server")
}
}
}