Update ReadMe.md

This commit is contained in:
Sergey Igushkin
2017-05-18 17:53:23 +03:00
committed by GitHub
parent 23c0e6fcb5
commit 6a31f8c139
+7 -10
View File
@@ -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
```
gradlew :kotlin-gradle-plugin-integration-tests:test
Android integration tests are disabled by default, add `-Pandroid` to include them as well.