Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ captures/
.idea/modules.xml
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
.idea/navEditor.xml
.idea/*

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we already have specific .idea patterns, what is the idea behind wildcard? Are specific idea rules even needed then?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just added it on top of already existing ignore rules, specific rules are not needed then, but I don't think it is a big problem

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems?page=4

Ignoring the entire .idea folder is a bit of a nuclear option and not recommended by Jetbrains

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well I guess then we will improve the rules

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would consider doing a bit of a hybrid approach as outlined in the article:
https://blog.sebastiano.dev/anatomy-of-a-gitignore/

Since I noticed some plugins like to put stuff in .idea that should not be shared, so I do think it's more practical to ignore by default, but intentionally un-ignore some stuff that should be shared.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KCeh KCeh Nov 28, 2025

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about this config?

related IDE config:

*.iml
*.ipr
*.iws
/.idea/*

# Exclude non-user-specific stuff
!.idea/.name
!.idea/codeInsightSettings.xml
!.idea/codeStyles/
!.idea/copyright/
!.idea/dataSources.xml
!.idea/detekt.xml
!.idea/encodings.xml
!.idea/externalDependencies.xml
!.idea/file.template.settings.xml
!.idea/fileTemplates/
!.idea/icon.svg
!.idea/inspectionProfiles/
!.idea/runConfigurations/
!.idea/scopes/
!.idea/vcs.xml

These are files I am getting as diff before nuclear option of ignoring whole .idea folder:

Screenshot 2025-11-28 at 13 30 36

Looking at what they do, it might be useful to keep (but nothing super important):

.name
runConfigurations.xml
kotlinc.xml
AndroidProjectSystem.xml

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think some of those exclusions might be outdated, such as the runConfiguration folder, which I don't see nowadays and instead only see the .xml file 🤔 same with detekt.xml, we keep detekt rules elsewhere. But I do agree with your list of exclusions!


# Keystore files
# Uncomment the following lines if you do not want to check your keystore files in.
Expand Down
4 changes: 2 additions & 2 deletions config.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extra["buildConfig"] = mapOf(
"minSdk" to 28,
"compileSdk" to 35,
"targetSdk" to 35
"compileSdk" to 36,
"targetSdk" to 36
)
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ appcompat = "1.7.1"
androidGradlePlugin = "8.11.1"
detekt = "1.23.8"
dokka = "1.9.20"
gradle-maven-publish = "0.34.0"
kotlin = "2.2.0"
gradle-maven-publish = "0.35.0"
kotlin = "2.2.21"
library = "0.1.0"

[plugins]
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Tue Jan 02 14:24:44 CET 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
284 changes: 175 additions & 109 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading