Add information how to create a jar from the calculator sample (#1210)

This commit is contained in:
Stefan M
2018-01-11 17:05:46 +01:00
committed by Nikolay Igotti
parent e1b507f998
commit 56d9ab066a
+7 -2
View File
@@ -23,5 +23,10 @@ The sample consists of:
framework by invoking Gradle from custom "Run Script" build phase, and this framework by invoking Gradle from custom "Run Script" build phase, and this
framework is imported into the Xcode project. framework is imported into the Xcode project.
The library can also be compiled to a `.jar` by Kotlin/JVM compiler with
Gradle. The library can also be compiled to a `.jar` by Kotlin/JVM compiler with Gradle.
Just run from the [sample root dir](../):
```
./gradlew calculator:jar
```
This will generate a `calculator.jar` in `build/libs/`.