Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

build.gradle.kts: Unresolved reference: compile #25

@BorzdeG

Description

@BorzdeG

Gradle 4.2.1

build.gradle.kts:

import org.jetbrains.kotlin.gradle.frontend.FrontendPlugin

buildscript {
    val kotlinVersion = "1.2-M2"

    repositories {
        jcenter()
        maven(url = "https://dl.bintray.com/kotlin/kotlin-eap")
        maven(url = "https://dl.bintray.com/kotlin/kotlin-dev")
    }
    dependencies {
        classpath(kotlin("gradle-plugin", kotlinVersion))
        classpath(kotlin("frontend-plugin", "latest.release"))
    }
}

apply {
    plugin("kotlin2js")
}
plugins.apply(FrontendPlugin::class.java)

repositories {
        jcenter()
        maven(url = "https://dl.bintray.com/kotlin/kotlin-dev")
}

val kotlinVersion = "1.2-M2"

dependencies {
    compile(kotlin("stdlib-js", kotlinVersion))
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions