From 6a31f8c1399bcb47b9ea07aa9a1958ff3abd1ffa Mon Sep 17 00:00:00 2001 From: Sergey Igushkin Date: Thu, 18 May 2017 17:53:23 +0300 Subject: [PATCH] Update ReadMe.md --- libraries/ReadMe.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/libraries/ReadMe.md b/libraries/ReadMe.md index b46b5d58a9f..c7728f0b909 100644 --- a/libraries/ReadMe.md +++ b/libraries/ReadMe.md @@ -39,19 +39,16 @@ If your maven build is failing with Out-Of-Memory errors, set JVM options for ma Gradle plugin sources can be found at the [kotlin-gradle-plugin](tools/kotlin-gradle-plugin) module. -To build only gradle plugin and necessary dependencies use the following command: -```bash -mvn clean install -pl :kotlin-gradle-plugin -am -# to skip all tests also add -DskipTests -PnoTest -``` +To build the Gradle plugin and the subplugins, first build the core libraries and other tools (the Gradle and Maven builds above) and then, inside `tools/gradle-tools`, run: + + gradlew clean install ### Gradle integration tests Gradle integration tests can be found at the [kotlin-gradle-plugin-integration-tests](tools/kotlin-gradle-plugin-integration-tests) module. -These tests are slow, so they are *skipped by default*. +To run integration tests, run from `tools/gradle-tools`: -To run integration tests use the `run-gradle-integration-tests` profile: -```bash -mvn clean install -pl :kotlin-gradle-plugin-integration-tests -am -Prun-gradle-integration-tests -``` \ No newline at end of file + gradlew :kotlin-gradle-plugin-integration-tests:test + +Android integration tests are disabled by default, add `-Pandroid` to include them as well.