GradleKotlinConverter icon indicating copy to clipboard operation
GradleKotlinConverter copied to clipboard

Convert from Groovy to Kotlin DSL for Gradle, focused on Android.

Results 22 GradleKotlinConverter issues
Sort by recently updated
recently updated
newest added

I've tried to convert [this](https://github.com/etiennestuder/gradle-jooq-plugin/blob/master/example/configure_jooq_with_flyway/build.gradle) file but haven't succeeded. The conversion result turned out to be incorrect.

` import org.jetbrains.kotlin.config.KotlinCompilerVersion ` this import is no more relevant, that can be removed by conversion script

It's a good plugin to add in intellij idea

hi i tried to run with the command: `kotlinc -script gradlekotlinconverter.kts ` (kotlin 1.3.72) got the following error ` kotlinc -script gradlekotlinconverter.kts error: compilation failed: Front-end Internal error: Failed to...

Hello I found out this 3 cases that it converted wrongly and I write you the right conversion. I hope it's helpful I created a pull request fixing the first...

```gradle tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { kotlinOptions { jvmTarget = "1.8" } } ``` should be converted to ```kotlin tasks.withType { kotlinOptions { jvmTarget = "1.8" } } ``` but is converted to:...

Hi Simply fails with a 200 lines Gradle build file. The resulting file has almost 900 lines and does not compile. :( [build.gradle.zip](https://github.com/bernaferrari/GradleKotlinConverter/files/4628265/build.gradle.zip)

Can i migrate from Kotlin DSL to old Groovy? Kotlin DSL too much slow

The conversion of a function seems to be broken. Input: ``` def generateTag() { def date = new Date().format('yyyy-MM-dd-HH-mm') return System.env.CI_PIPELINE_IID ?: date // use pipeline counter if available }...

Input: ``` archivesBaseName = "random-app-$versionName" ``` Actual Output: ``` archivesBaseName = "random-app-$versionName" = versionName" ``` Expected Output: ``` archivesBaseName = "random-app-$versionName" ```