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.
|
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:
|
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:
|
||||||
```bash
|
|
||||||
mvn clean install -pl :kotlin-gradle-plugin -am
|
gradlew clean install
|
||||||
# to skip all tests also add -DskipTests -PnoTest
|
|
||||||
```
|
|
||||||
|
|
||||||
### Gradle integration tests
|
### Gradle integration tests
|
||||||
|
|
||||||
Gradle integration tests can be found at the [kotlin-gradle-plugin-integration-tests](tools/kotlin-gradle-plugin-integration-tests) module.
|
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:
|
gradlew :kotlin-gradle-plugin-integration-tests:test
|
||||||
```bash
|
|
||||||
mvn clean install -pl :kotlin-gradle-plugin-integration-tests -am -Prun-gradle-integration-tests
|
Android integration tests are disabled by default, add `-Pandroid` to include them as well.
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user