gradle-buildconfig-plugin icon indicating copy to clipboard operation
gradle-buildconfig-plugin copied to clipboard

Build fails when used with Kotlin JS plugin. Cannot add task 'testClasses' as a task with that name already exists.

Open allanveloso opened this issue 2 years ago • 1 comments

Build fails when used with Kotlin JS plugin.

build.gradle.kts

plugins {
    kotlin("js") version "1.6.21"
    id("de.fuerstenau.buildconfig") version "1.1.8"
}

kotlin {
    js(IR) {
        browser()
    }
}

Exception on the line starting with js(IR) {:

Cannot add task 'testClasses' as a task with that name already exists.

allanveloso avatar Apr 30 '22 19:04 allanveloso

I'm having this with the following:

plugins {
    id("org.kite9.java-conventions")
    kotlin("js") version "1.8.10"
}

kotlin {
    js(IR) {

    }
}


description = "Kite9 Visualization Javascript"

robmoffat avatar Mar 14 '23 17:03 robmoffat