https://kotlinlang.org logo
Title
x

x80486

03/18/2020, 5:02 PM
Hello folks...if/when you have some time, take a look at this one: https://stackoverflow.com/questions/60743468/gstring-lazy-evaluation-in-kotlin-dsl-using-gradle-git-properties-plugin ...chime in if you have any solution for it, and thanks in advance! 👌😊😎
a

araqnid

03/18/2020, 7:01 PM
Wrote you an answer on there: it’s a bit fiddly, but nothing too bad
:trollface: 1
Don’t think I’ve written an anonymous object literal with no interface/superclass like that before 😆
x

x80486

03/18/2020, 7:23 PM
I'm looking at it right now...but I thought this could be simpler than that 😅 ...I was hoping that declaring
lazyCommitId
inside the
ShadowJar
task without doing
.configureEach
could be enough. I posted the same in their issue tracker, if the owner doesn't have anything simpler I will accept your answer 👌👍