Can / Should I add kotlinc.xml to my version control file to ignore?

Somewhere in the process of creating a Java project in IntelliJ IDEA (2017.1.2), a file appeared in the directory .idea/with the name kotlinc.xml. I am not doing anything with Kotlin, but the file is with the contents:

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="KotlinCommonCompilerArguments">
    <option name="languageVersion" value="1.1" />
    <option name="apiVersion" value="1.1" />
  </component>
</project>

This seems like some general configuration, but I can imagine that it stores some kind of project-specific (and not just my local-IDEA) Kotlin configuration. Thus, is it possible to ignore this file when sharing a project under version control (for example, Git), i.e. Do not commit it and publish it somewhere on the Internet? Or should it be ignored?

+4
1

.idea.

, Gradle Maven , IDE, Intellij IDEA Eclipse, /.

, IntelliJ .idea.

Gradle/Maven IntelliJ .idea .

, (, build (gradle, maven), CI, README). , Java /, :)

+5

Source: https://habr.com/ru/post/1677288/


All Articles