MyGit

0.4

bernaferrari/GradleKotlinConverter

版本发布时间: 2019-01-27 00:58:28

bernaferrari/GradleKotlinConverter最新发布版本:0.6(2020-03-19 01:01:52)

The script can now identify multiple plugins that are together and group them into a plugins block. This solves a lot of issues from Kotlin DSL and is the 'recommended' way of doing things.

apply(...)
apply(...)
apply(...)

now becomes

plugins {
    id(...)
    id(...)
    id(...)
}

Additionally, there is now conversion for all org.jetbrains.kotlin:kotlin dependencies:

implementation("org.jetbrains.kotlin:kotlin-reflect")
now becomes
implementation(kotlin("reflect"))

There is now conversion for id(..) which might be inside plugins.

plugins {
    id "io.gitlab.arturbosch.detekt" version "1.0"
}
now becomes
plugins {
    id("io.gitlab.arturbosch.detekt") version "1.0"
}

This also fixes some issues, like one with classpath exclude and another with kapt "...".

相关地址:原始地址 下载(tar) 下载(zip)

查看:2019-01-27发行的版本