Kenneth
10/16/2018, 8:20 AMaandreyev
10/16/2018, 9:51 AMgildor
10/16/2018, 10:30 AMThe multiple ways of invoking pluginsActually, there is only one recommended way, use plugins dsl
managing dependencies with no consistant syntaxnot sure what you mean Actually, all those things covered in official migration guide: https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/ But in general, I of course agree, if you not familiar with Gradle (and don’t want to become familiar) use of Kotlin DSL for you will be hard at the moment and you can see advantages of Kotlin DSL now only if you advanced user and ready to use pre-release technology But you still can use Groovy configs, they never be deprecated and you can eventully migrate to Kotlin But, one thing. If you familiar with Maven and everything works for you, I don’t see why you should migrate. If you have a new project it’s more interesting choice, but still, maven officially supported by Kotlin
aandreyev
10/16/2018, 11:11 AM> managing dependencies with no consistant syntax
not sure what you mean@gildor i mean things like this
compile group: 'ch.qos.logback', name: 'logback-classic', version: "1.2.3"
implementation group: 'ch.qos.logback', name: 'logback-classic', version: "1.2.3"
implementation('ch.qos.logback:logback-classic:1.2.3')
implementation("ch.qos.logback:logback-classic:1.2.3")
implementation(group = "ch.qos.logback", name = "logback-classic", version = "1.2.3")
compile("ch.qos.logback:logback-classic:1.2.3")
compile(group = "ch.qos.logback", name = "logback-classic", version = "1.2.3")
aandreyev
10/16/2018, 11:11 AMaandreyev
10/16/2018, 11:14 AMdependencyManagement {
imports {
mavenBom 'com.amazonaws:aws-java-sdk-bom:1.11.228'
}
dependencies {
aandreyev
10/16/2018, 11:15 AMaandreyev
10/16/2018, 11:15 AMgildor
10/16/2018, 2:11 PMgildor
10/16/2018, 2:13 PM