Skip to content

Commit

Permalink
Add instructions about declaring dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zhani committed Oct 17, 2024
1 parent 409187f commit a814afe
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ adb forward tcp:5000 tcp:5000
Before creating any `WPEView` instance, enable the remote inspector server and developer extras:

```kotlin
WPEView.enableRemoteInspector(5000, true);
WPEView.enableRemoteInspector(5000, true)
val view = WPEView().apply {
settings.developerExtrasEnabled = true
loadUrl("https://www.wpewebkit.org")
Expand Down Expand Up @@ -166,6 +166,19 @@ From Selenium directory created previously run
python3 ./simple_test.py
```

## Declaring dependencies

To add a dependency on WPEView, you must add the Maven Central repository to your project. Read [Maven Central repository](https://central.sonatype.org/consume/consume-gradle/) for more information.

```groovy
dependencies {
implementation "org.wpewebkit.wpeview:wpeview:0.1.0"
}
```

For more information about dependencies, see [Add build dependencies](https://developer.android.com/studio/build/dependencies).


## Known issues and limitations
* The universal wpewebkit bootstrap package is not yet supported.
* The scripts and build have only been tested in Linux.

0 comments on commit a814afe

Please sign in to comment.