You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The web project needs WebKit and Media shared libraries to run tests.
4
+
5
+
These can be supplied in a number of ways. See sections below.
6
+
7
+
## Compiled from source
8
+
9
+
Specify these Gradle properties to enable building of WebKit and Media libraries from source:
10
+
11
+
-PCOMPILE_WEBKIT=true -PCOMPILE_MEDIA=true
12
+
13
+
Note that these require additional build tooling and take some time to build.
14
+
15
+
If you are not actively working on these sources, you may want to cache the output by copying it to one of the folders mentioned below.
16
+
17
+
18
+
## Cached libraries
19
+
20
+
You can manually place WebKit and Media shared libraries in these folders:
21
+
22
+
* Unix libraries (*.so or *.dylib files)
23
+
````
24
+
$projectDir/../caches/sdk/lib
25
+
````
26
+
27
+
* Windows libraries (*.dll files)
28
+
````
29
+
$projectDir/../caches/sdk/bin
30
+
````
31
+
32
+
## Officially released libraries
33
+
34
+
Gradle has a task to automate downloading officially released libraries from MavenCentral.
35
+
36
+
You can enable the task by specifying this Gradle property:
37
+
38
+
-PSTUB_RUNTIME_OPENJFX="15-ea+4"
39
+
40
+
Note that these libraries may not be compatible with the source tree you are working with. Always use the [latest version](https://search.maven.org/search?q=g:org.openjfx%20AND%20a:javafx); this may improve your chances of compatibility.
41
+
42
+
43
+
## Skip Web tests
44
+
45
+
You can also skip the web module tests.
46
+
47
+
Specify these options to Gradle
48
+
49
+
-x :web:test
50
+
51
+
Note that this is fine for local work. But a full test *is* required before submitting a PR, see [CONTRIBUTING.md](https://github.com/openjdk/jfx/blob/master/CONTRIBUTING.md).
0 commit comments