sdeleuze
05/25/2018, 10:46 AMval shadowJar by tasks.getting(ShadowJar::class) { ... }shadow { ... }ShadowExtensioneriwen
05/25/2018, 3:42 PMval shadowJar by tasks.getting(ShadowJar::class)Czar
05/25/2018, 3:49 PMval shadowJar by...Czar
05/25/2018, 3:50 PMtasks {
    val shadowJar: ShadowJar by getting
    shadowJar {
        // your config
    }
}tasks {}val shadowJar: ShadowJar by tasks.getting {
    // your config
}sdeleuze
05/28/2018, 11:56 AMshadow { ... }sdeleuze
05/28/2018, 11:57 AMshadow { .. }sdeleuze
05/28/2018, 11:57 AMgildor
05/31/2018, 11:22 AMgildor
05/31/2018, 11:24 AMsdeleuze
05/31/2018, 12:39 PMshadowJar { }sdeleuze
05/31/2018, 12:39 PMsdeleuze
05/31/2018, 12:40 PMsdeleuze
05/31/2018, 12:40 PMgildor
05/31/2018, 1:52 PMgildor
05/31/2018, 1:53 PMgildor
05/31/2018, 1:55 PMgildor
05/31/2018, 1:57 PMgildor
05/31/2018, 2:01 PMOr do they have to copy these properties to the extension and get the tasks retrieve these properties ?Yes, this is possible, you can use extensions config as default values for task config. As I remember the latest versions of Gradle even have some API to reduce boilerplate in this case
sdeleuze
05/31/2018, 2:37 PM