After upgrading Kotlin plugin to 1.3.70, the IDE a...
# intellij
l
After upgrading Kotlin plugin to 1.3.70, the IDE automatically creates empty
java
folders in my project layout.. In my plugins section I have configured the following plugins:
Copy code
`maven-publish`
    eclipse
    idea
    jacoco
    pmd

    kotlin("jvm")
    kotlin("kapt")
    kotlin("plugin.allopen")
    kotlin("plugin.noarg")
    kotlin("plugin.spring")

    id("org.jetbrains.dokka")
    id("org.springframework.boot")
a
@Margarita Bobova can you please take a look
đź‘€ 1
m
@Lex Luthor Hello! You’ve just created a project or folders appears in already exsisting project? What IDEA version do you use?
l
I am using this on Linux:
Copy code
IntelliJ IDEA 2019.3.3 (Ultimate Edition)
Build #IU-193.6494.35, built on February 11, 2020
Runtime version: 11.0.5+10-b520.38 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.3.0-40-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 4012M
Cores: 12
Registry: debugger.valueTooltipAutoShowOnSelection=true, ide.balloon.shadow.size=0
Non-Bundled Plugins: Lombook Plugin, com.dubreuia, org.toml.lang, org.rust.lang
and this version on Mac OSX:
Copy code
IntelliJ IDEA 2019.3.3 (Ultimate Edition)
Build #IU-193.6494.35, built on February 11, 2020
Runtime version: 11.0.5+10-b520.38 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.3
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 16
Registry: 
Non-Bundled Plugins: net.seesharpsoft.intellij.plugins.csv, org.jetbrains.kotlin, org.toml.lang, org.rust.lang
The folders appear after I import a repository project into the IDE. Projects include Kotlin sources only and a Gradle Kotlin build script (build.gradle.kts).
On Mac I am using Kotlin plugin
m
There used to be an option on import to control whether empty sourceset directories would be created. Can't find the setting now. Perhaps this is the default?
l
It looks like the issue is related to Kotlin 1.3.70. Bug is tracked here