Update ReadMe.md
This commit is contained in:
+7
-10
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user