Switch branches/tags
v1.2.50 v1.2.50-eap-62 v1.2.50-eap-17 v1.2.41 v1.2.40 v1.2.40-eap-62 v1.2.40-eap-51 v1.2.40-eap-16 v1.2.31 v1.2.30 v1.2.30-eap-47 v1.2.30-eap-16 v1.2.21 v1.2.20 v1.2.20-eap-71 v1.2.20-eap-33 v1.2.20-eap-11 v1.2.10_173 v1.2.10_171 v1.2.10_163 v1.2.10 v1.2.10_as31 v1.2.10_as31x v1.2.10_as30 v1.2.10_as23 v1.2.0_173 v1.2.0_171 v1.2.0_163 v1.2.0 v1.2.0_as23 v1.2-rc2_173 v1.2-rc2_171 v1.2-rc2_163 v1.2-rc2 v1.2-rc2_as31 v1.2-rc2_as30 v1.2-rc2_as23 v1.2-rc1 v1.2-beta2 v1.2-beta v1.2-M2 v1.2-M1 v1.1.61 v1.1.60 v1.1.60-eap-43 v1.1.51 v1.1.50 v1.1.4 v1.1.4-3 v1.1.4-2 v1.1.3 v1.1.3-2 v1.1.2 v1.1.2-eap-77 v1.1.2-eap-73 v1.1.2-eap-69 v1.1.2-eap-44 v1.1.2-5 v1.1.2-2 v1.1.1 v1.1.1-rc v1.1 v1.1-rc v1.1-beta2 v1.1-beta v1.1-M04 v1.1-M03 v1.0.7 v1.0.6 v1.0.5 v1.0.5-2 v1.0.4 v1.0.3 release/0.11.91.1.Idea141.19-141.175.3 release/0.11.91.1.Idea141.18-141.175.3 release/0.11.91.1.Idea141.17-141.175.3 release/0.11.91.1.Idea141.15-141.175.3 release/0.11.91.1.Idea141.14-141.175.3 release/0.11.91.1.Idea141.12-141.175.3 release/0.11.91.1.Idea141.11-141.175.3 release/0.11.91.1.Idea141.10-141.175.3 release/0.11.91.1.Idea141.9-141.175.3 release/0.11.91.1.Idea141.8-141.175.3 release/0.11.91.1.Idea139.12-139.1603.1 release/0.11.91.1.Idea139.11-139.1603.1 release/0.11.91.1.Idea139.9-139.1602.1 release/0.11.91.1.Idea139.8-139.1602.1 release/0.11.91.1.Idea139.6-139.1602.1 release/0.11.91.1.Idea139.5-139.1602.1 release/0.11.91.1.Idea139.4-139.1602.1 release/0.11.91.1.Idea139Release.5-139.1117.1 release/0.11.91.1.Idea139Release.4-139.1117.1 release/0.11.91.1.Idea139Release.2-139.1117.1 release/0.11.91.1.AndroidStudioCanary.14-140.2683.2 release/0.11.91.1.AndroidStudioCanary.13-140.2683.2 release/0.11.91.1.AndroidStudioCanary.12-140.2683.2 release/0.11.91.1.AndroidStudioCanary.11-140.2683.2 release/0.11.91.1.AndroidStudioCanary.10-140.2683.2 release/0.11.91.1.AndroidStudioCanary.9-140.2683.2 release/0.11.91.1.AndroidStudioCanary.7-140.2683.2
Nothing to show
Find file History
Permalink
..
Failed to load latest commit information.
examples
kotlin.test Pill: Import common modules as libraries May 15, 2018
kotlinx-metadata
lib
reflect
scripting
stdlib [JS IR BE] Support exceptions in IR BE runtime Jun 19, 2018
tools
.gitignore
ReadMe.md
build-docs.xml
commonConfiguration.gradle
configureGradleTools.gradle
gradlew
gradlew.bat
maven-settings.xml
pom.xml
prepareSonatypeStaging.gradle

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"