tree: cf480a24dbd3e8ec35e626108860e1050d8f1e5b [path history] [tgz]
  1. .gitignore
  2. ReadMe.md
  3. build-docs.xml
  4. commonConfiguration.gradle
  5. configureGradleTools.gradle
  6. examples/
  7. gradlew
  8. gradlew.bat
  9. kotlin.test/
  10. kotlinx-metadata/
  11. lib/
  12. maven-settings.xml
  13. pom.xml
  14. prepareSonatypeStaging.gradle
  15. reflect/
  16. scripting/
  17. stdlib/
  18. tools/
libraries/ReadMe.md

Kotlin Libraries

This part of the project contains the sources of the following libraries:

  • kotlin-stdlib, the standard library for Kotlin/JVM, Kotlin/JS and its additional parts for JDK 7 and JDK 8
  • kotlin-reflect, the library for full reflection support
  • kotlin-test, the library for multiplatform unit testing
  • kotlin-annotations-jvm, the annotations to improve types in the Java code to look better when being consumed in the Kotlin code.

These libraries are built as a part of the root Gradle project.

Kotlin Maven Tools

This area of the project is the root for Maven build.

You can work with the maven modules of this maven project in IDEA from the root IDEA project. After importing you'll be able to explore maven projects and run goals directly from IDEA with the instruments on the right sidebar.

Building

You need to install a recent (at least 3.3) Maven distribution.

Before building this Maven project you need to build and install the required artifacts built with Gradle to the local maven repository, by issuing the following command in the root project:

./gradlew install

Note: on Windows type gradlew without the leading ./

This command assembles and puts the artifacts to the local maven repository to be used by the subsequent maven build. See also root ReadMe.md, section “Building”.

Then you can build maven artifacts with Maven:

mvn install

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="-Xmx2G"