Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ A generator for Kotlin JS declarations for the Firefox WebExtensions API from th

The schema is taken from https://github.com/mozilla/gecko-dev/tree/master/browser/components/extensions/schemas and https://github.com/mozilla/gecko-dev/tree/master/toolkit/components/extensions/schemas.

See KotlinConf 2018 talk: [Building a Browser Extension with Kotlin](https://kotlinconf.com/talks/#session=21914)

See https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions

## Example projects

- https://github.com/cypressious/webextension-search-kotlin-docs
- https://github.com/cypressious/second-firefox-extension-kotlin


## How to use in a Gradle project

You can include the declarations in your project by using jitpack.io.
Expand All @@ -22,13 +32,6 @@ and
```groovy
dependencies {
// ...
compile 'com.github.cypressious.kotlin-webextensions-declarations:webextensions-declarations:v0.2'
compile 'com.github.cypressious.kotlin-webextensions-declarations:webextensions-declarations:v0.3'
}
```

## Example project

See https://github.com/cypressious/second-firefox-extension-kotlin