https://kotlinlang.org logo
#ktor
Title
# ktor
j

Jgafner

08/14/2021, 10:48 AM
Hi In the app engine deployment documentation there is an error in the configuration of the artifact (point 3) : https://ktor.io/docs/google-app-engine.html#configure-app-engine-settings
Copy code
appengine {
    stage {
        artifact = "build/libs/$project.name-$project.version-all.jar"
    }
So missing some curly braces:
Copy code
appengine {
    stage {
        artifact = "build/libs/${project.name}-${project.version}-all.jar"
    }
d

duuusha

08/14/2021, 4:09 PM
Hi, thank you for the feedback. Groovy doc says that ‘curly braces may be omitted for unambiguous dotted expressions’. I’ve checked in a console, both variants return the same result
j

Jgafner

08/14/2021, 4:20 PM
Yes but when migrating to kotlin it start complaining so I think better use it
d

duuusha

08/15/2021, 6:38 AM
thanks, I’ve updated the example for more convenient migration
2 Views