Top "Gradle-kotlin-dsl" questions

Kotlin language support for Gradle build scripts.

Error:Execution failed for task ':app:compileDebugKotlin'. > Compilation error. See log for more details

Error:Execution failed for task ':app:compileDebugKotlin'. > Compilation error. See log for more details build:gradle(Module:app) …

android kotlin gradle build gradle-kotlin-dsl
Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.2.71'] was not found in any of the following sources

I have a fresh install of IntelliJ, I created a new kotlin gradle project using the following settings: This produces …

gradle intellij-idea kotlin gradle-kotlin-dsl
How to create the fat jar with gradle kotlin script

As titled, I'd like to know how to modify the gradle.build.kts in order to have a task to …

kotlin build.gradle gradle-kotlin-dsl build.gradle.kts
How to add a maven repository by url using kotlinscript DSL (build.gradle.kts)

Whats the equivalent of the following code snippet from a build.gradle in a build.gradle.kts version? repositories { mavenCentral() …

gradle kotlin gradle-kotlin-dsl
How to add new sourceset with gradle kotlin-dsl

I want to add a sourceset src/gen/java. With groovy this is rather easy and already described in https://…

gradle kotlin gradle-kotlin-dsl
ext in buildscript can not be recognised by Gradle Kotlin DSL

In these days, I am trying to write some codes to experience the Spring reactive features and kotlin extension in …

gradle kotlin build.gradle gradle-kotlin-dsl
Unresolved reference: compileKotlin in build.gradle.kts

Kotlin project success build by build.gradle: compileKotlin { kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8 } compileTestKotlin { kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8 } Nice. But I …

gradle kotlin gradle-kotlin-dsl
How are gradle extra properties set in the Kotlin DSL?

I'm trying to organize my build files as I would in groovy, by having values in a separate file to …

gradle kotlin gradle-kotlin-dsl
Convert an existing groovy build.gradle file into a kotlin based build.gradle.kts

my project has two different build.gradle files written with groovy Syntax. I´d like to change this groovy written …

groovy kotlin gradle-kotlin-dsl
Gradle Kotlin DSL: Define Kotlin version in unique place

For describing Gradle build scripts, we can use Kotlin via build.gradle.kts files. It's a common problem to globally …

gradle kotlin build.gradle gradle-kotlin-dsl