Ryan Zidago
01/15/2022, 4:55 PM.gradle/
.idea/
bin/
build/
gradle/
gradlew
gradlew.bat
Rob Elliot
01/15/2022, 4:59 PM.idea/
should be in a global ignore file in your home directory. I use ~/.gitignore_global
- add this to `~/.gitconfig`:
[core]
excludesfile = ~/.gitignore_global
gradle/
, gradlew
& gradlew.bat
should be checked in - the whole point is you can checkout and run ./gradlew build
and it works.Ryan Zidago
01/15/2022, 5:00 PMRob Elliot
01/15/2022, 5:00 PM.gitignore
- so definitely build
..idea
directory - I have the following in `~/.gitignore_global`:
!.idea/runConfigurations
!.idea/runConfigurations/*
!.idea/externalDependencies.xml
which allows me to save required plugins and special run configurations, which may be useful to other people using IntelliJ without having an endless fight over personal configuration. For instance in a project using kotest I think it's useful to prompt another dev to install the kotest plugin. And when running the app in Intellij requires specific VM or program parameters it's useful to save that as a run configuration.Ryan Zidago
01/15/2022, 5:16 PMAlbert Chang
01/15/2022, 5:28 PMRyan Zidago
01/15/2022, 5:30 PM