IntelIJ IDEA 2018.3 Gradle 5.1.
In my Kotlin script
build.gradle.kts
build.gradle.kts
plugins {
kotlin("jvm") version "1.3.20"
id("com.github.johnrengelman.shadow") version "4.0.3"
id("com.devsoap.vaadin-flow") version "1.0"
id("org.gretty") version "2.3.1"
}
val kotlinVersion = "1.3.20" //by extra("1.3.20")
val jettyVersion = "9.4.14.v20181114"
val vaadinVersion = "12.0.4"
dependencies {
// Plugins
implementation(kotlin("stdlib-jdk8"))
implementation("com.github.jengelman.gradle.plugins:shadow:4.0.3")
//
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
// Vaadin
implementation("com.vaadin:vaadin-bom:$vaadinVersion")
implementation("com.vaadin:vaadin-core:$vaadinVersion")
}
val shadowJar by tasks.getting(ShadowJar::class) {
manifest.attributes["Main-Class"] = "com.myproject.Main"
mergeServiceFiles()
include("frontend/*/*.*") // error here
}
But I get error in IntelIJ IDEA: