language14 active rulesVerified 2026-09-30
Kotlin .gitignore Template
Kotlin compiled classes, caches, and build outputs. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.
Interactive Stack Generator
Open in Full Generator/
Search for templates
Quick add:
Selected1
Kotlin
Selected Templates (1)
Kotlin
language
Kotlin compiled classes, caches, and build outputs
#kotlin#kt#kts
.gitignore
### Kotlin #### Compiled class file*.class # Log file*.log # BlueJ files*.ctxt # Mobile Tools for Java (J2ME).mtj.tmp/ # Package Files #*.jar*.war*.nar*.ear*.zip*.tar.gz*.rar # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xmlhs_err_pid*replay_pid* # Kotlin Gradle plugin data, see https://kotlinlang.org/docs/whatsnew20.html#new-directory-for-kotlin-data-in-gradle-projects.kotlin/ 14 rules1 template29 linesUTF-8LF
Deterministic
Raw Kotlin .gitignore
Crawlable upstream source templatekotlin.gitignore27 linesUTF-8
# Compiled class file*.class # Log file*.log # BlueJ files*.ctxt # Mobile Tools for Java (J2ME).mtj.tmp/ # Package Files #*.jar*.war*.nar*.ear*.zip*.tar.gz*.rar # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xmlhs_err_pid*replay_pid* # Kotlin Gradle plugin data, see https://kotlinlang.org/docs/whatsnew20.html#new-directory-for-kotlin-data-in-gradle-projects.kotlin/Key Pattern Breakdown
Build & Compilation Artifacts
Ignores compiled binaries, intermediate object files, and build output directories generated during development.
*.class*.jar*.war
Cache & Temporary Files
Ignores compiler caches, test runner coverage data, and transient temporary scratch files.
*.log.mtj.tmp/
Source & Verification
Source:: GitHub gitignore (main)
License:: CC0-1.0
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.