From 56d9ab066a2fb71db17628c9c140e6fd90033bf6 Mon Sep 17 00:00:00 2001 From: Stefan M Date: Thu, 11 Jan 2018 17:05:46 +0100 Subject: [PATCH] Add information how to create a jar from the calculator sample (#1210) --- samples/calculator/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/samples/calculator/README.md b/samples/calculator/README.md index 10310d9444d..5a6f1a765d9 100644 --- a/samples/calculator/README.md +++ b/samples/calculator/README.md @@ -23,5 +23,10 @@ The sample consists of: framework by invoking Gradle from custom "Run Script" build phase, and this 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/`.