This is my 1st "real" Kotlin project, i.e. source ...
# announcements
s
This is my 1st "real" Kotlin project, i.e. source code will be managed through Azure DevOps with Git. When creating a new repository from DevOps, there's a 'Add a .gitignore' field in the dialog with several options. For previous projects, we used to select "VisualStudio" because it's the IDE we used for these projects. However, for a kotlin project, would you select the obvious "kotlin" option? Or the "Gradle" option since the code will be built with it? Or some other option? Thanks in advance!
w
It depends what these default templates contain. I think
gradle
will cover more things, but also it’s not a problem to simply add stuff to gitignore once you realize something’s missing
s
You're right, it's not set in stone anyway. But I just wanted to have the best template going in. Gradle has probably more stuff like you said.
m
k
At work I used gitignore.io and combined the kotlin and android gitignores for the best coverage. I'd select the Gradle option and then augment the gitignore using gitignore.io
👌 1
s
Good idea. The one I got with the Gradle option is very small. I'll try gitignore.io to see what I can get.