GradleKotlinConverter icon indicating copy to clipboard operation
GradleKotlinConverter copied to clipboard

Do you know what that is in kotlin dsl?

Open LarsArtmann opened this issue 7 years ago • 6 comments

artifacts {
    archives shadowJar
}

LarsArtmann avatar Jan 13 '19 21:01 LarsArtmann

That is a great question. I have no idea, I've never seen gradle like this. I'm currently on vacation, but I recommend you checking the official gradle kotlin kts migration or searching the web. I would probably guess archives = listOf(shadowJar) or archives(shadowJar) or archives =... Or something like that.

bernaferrari avatar Jan 13 '19 23:01 bernaferrari

Do you have a link to this documentation? All suggestions did not work 😢

LarsArtmann avatar Jan 14 '19 05:01 LarsArtmann

https://docs.gradle.org/current/userguide/kotlin_dsl.html

There is this fairly complex project for inspiration: https://github.com/SUPERCILEX/Robot-Scouter

And you might also want to open an issue on kotlin dsl: https://github.com/gradle/kotlin-dsl

If you find out how to do the migration I can add it to the script.

On Mon, Jan 14, 2019, 03:48 Lars Artmann [email protected] wrote:

Do you have a link to this documentation? All suggestions did not work 😢

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/bernaferrari/GradleKotlinConverter/issues/2#issuecomment-453906988, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVblQbQ82oyM9qlU65BP6faGRdxP2Yvks5vDBpIgaJpZM4Z9ZAC .

bernaferrari avatar Jan 14 '19 11:01 bernaferrari

I'll take a look. Ever thank you for the help.

LarsArtmann avatar Jan 14 '19 12:01 LarsArtmann

If you find your answer, please tell me, so I can improve the script. Else, I'll try to take a closer look at next week.

bernaferrari avatar Jan 15 '19 10:01 bernaferrari

German

Leider konnte ich noch nicht die Zeit dafür finden.

English (Google translator)

Unfortunately I could not find the time for it yet.

LarsArtmann avatar Jan 19 '19 21:01 LarsArtmann