Refactoring: move gradle integration tests to separate module

This commit is contained in:
Alexey Tsvetkov
2016-09-26 16:34:03 +03:00
parent 8cc384a6dd
commit 1cc423b163
390 changed files with 193 additions and 52 deletions
+21
View File
@@ -23,3 +23,24 @@ Be sure to build Kotlin compiler distribution before launching Maven: see ReadMe
If your maven build is failing with Out-Of-Memory errors, set JVM options for maven in MAVEN_OPTS environment variable like this:
MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
## Gradle Plugin
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
```
### 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 use the 'run-gradle-integration-tests' profile:
```bash
mvn clean install -pl :kotlin-gradle-plugin-integration-tests -am -Prun-gradle-integration-tests
```