GitXplorerGitXplorer
c

talk-kotlin-multiplatform

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
36ff441f925104f00a5d1a31f04300a481aed7ba

Add README

ccolriot committed 6 years ago
Unverified
6e612cc131ded1ebaad997d7c91c75799af1747b

Initial code drop

ccolriot committed 6 years ago

README

The README file for this repository.

DPI calculator with mutliplatform codebase in Kotlin

This project showcases the ability to write multiplatform projects in Kotlin. It's a DPI calculator app inspired by this project. It can be built as an Android app or as a Firefox browser extension.

Prerequisites

  • Android dev environment
  • web-ext tool for testing Web extension
    • npm install --global web-ext

Building and Running

Full build can be performed using typical ./gradlew build command. Aside of that different parts can be run separately

Android

./gradlew :dpi-android:installDebug to build and install the app to connected device or emulator

Browser extension

  • ./gradlew :dpi-js:runDceKotlinJs to build the browser extension
  • web-ext run (executed in dpi-js/ folder) to run Firefox instance with our extension installed

Alternatively you can use --continuous build flag to watch for changes and rebuild the extension automatically:

./gradlew :dpi-js:runDceKotlinJs --continuous