tree: 1cd5e9ba00452c7bc5b9ddbe0aaa2e3aa984f89d [path history] [tgz]
  1. examples/
  2. idl/
  3. kotlin.test/
  4. lib/
  5. stdlib/
  6. tools/
  7. .gitignore
  8. build-docs.xml
  9. maven-settings.xml
  10. pom.xml
  11. ReadMe.md
libraries/ReadMe.md

Kotlin Libraries

This area of the project is all written in Kotlin and assumes you've got the Kotlin IDEA plugin installed.

This area of the project uses Maven for its build. To build install a recent Maven distribution then type:

mvn install

For more details see the Getting Started Guide

Be sure to build Kotlin compiler before launching Maven: see ReadMe.md at root level, section “Building”

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 module.

To build only gradle plugin and necessary dependencies use the following command:

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 module.

These tests are slow, so they are skipped by default.

To run integration tests use the ‘run-gradle-integration-tests’ profile:

mvn clean install -pl :kotlin-gradle-plugin-integration-tests -am -Prun-gradle-integration-tests