forked from oracle/graalvm-reachability-metadata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
40 lines (36 loc) · 1.04 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
/*
* 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-client:$libraryVersion"
testImplementation 'org.assertj:assertj-core:3.22.0'
testImplementation 'org.slf4j:slf4j-api:2.0.5'
testImplementation 'org.slf4j:slf4j-simple:2.0.5'
}
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-client/")
}
}
}