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.

Extension with name 'kotlin' does not exist #146

Closed
@steelxt

Description

@steelxt

despite #142 warn about must include kotlin plugin first I'm getting:

Extension with name 'kotlin' does not exist. Currently registered extension names: [ext, defaultArtifacts, reporting, sourceSets, java]

yes I have settings setup :

`pluginManagement {

repositories {
    gradlePluginPortal()
    maven { setUrl("https://jcenter.bintray.com/") }
    maven { setUrl("https://dl.bintray.com/kotlin/kotlin-eap") }    }


resolutionStrategy {
    eachPlugin {
        println "req id =  $requested.id.id"
        println "req id =  $requested.version"

        if (requested.id.id == "kotlin2js") {


            useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:${requested.version}")
        }
        if( requested.id.id == 'org.jetbrains.kotlin.frontend') {
            useModule("org.jetbrains.kotlin:kotlin-frontend-plugin:${requested.version}")
        }
    }
}

}`

but I'm using build.gradle.kts in my sub project:

plugins { id("kotlin2js") id("org.jetbrains.kotlin.frontend") version "0.0.45" }

without no luck, can you help and guide my to right direction?

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