Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Latest commit

 

History

History
48 lines (35 loc) · 1.35 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.35 KB

kotlinx.support

Provides extension and top-level functions to use JDK7/JDK8 features in Kotlin 1.0.

In Kotlin 1.1+ please use the standard library artifacts instead: kotlin-stdlib-jdk7 and kotlin-stdlib-jdk8.

obsolete JetBrains project Download

Maven

Add jcenter repository (if you don't have it yet)

<repository>
    <snapshots>
        <enabled>false</enabled>
    </snapshots>
    <id>central</id>
    <name>bintray</name>
    <url>https://jcenter.bintray.com</url>
</repository>

Add a dependency:

<dependency>
    <groupId>org.jetbrains.kotlinx</groupId>
    <artifactId>kotlinx-support-jdk8</artifactId>
    <version>0.3</version>
</dependency>

Gradle

Just add a dependency:

compile 'org.jetbrains.kotlinx:kotlinx-support-jdk8:0.3'

jcenter repository should be configured by default in gradle, but if it's not you may need to include it:

repositories {
    jcenter()
}