https://kotlinlang.org logo
Title
g

GarouDan

01/29/2019, 1:10 AM
If we have something like
group "com.company.team.project"
version "0.0.1"
in our
build.gradle
how can we convert this to a
build.gradle.kts
file? I tried something like:
group("com.company.team.project")
version("0.0.1")
but it didn’t work.
s

serebit

01/29/2019, 2:00 AM
group = “com.company.team.project”
g

GarouDan

01/29/2019, 2:19 AM
Oh thanks, it works. Do you know how could I translate this another one too?
maven { url = "<https://dl.bintray.com/kotlin/kotlin-eap>" }
It says to be that is necessary a URI type, but I tried something like
maven { url = URI("<https://dl.bintray.com/kotlin/kotlin-eap>") }
or java.net.URI but It didn’t work
s

serebit

01/29/2019, 2:20 AM
maven("<https://dl.bintray.com/kotlin/kotlin-eap>")
g

GarouDan

01/29/2019, 2:23 AM
Thanks a lot 😃
s

serebit

01/29/2019, 2:23 AM
no problem 🙂