Setting up 'src/main/kotlin' as default for new android activities in AS or IJ IDEA


#1

Is there a way to set up Android Studio or IntelliJ IDEA so that the ‘src/main/kotlin’ folder is the default for new activities?

I have both a ‘src/main/java’ and a ‘src/main/kotlin’ directory. I want to keep the former for unconverted source files and the latter for files converted to Kotlin.

I can currently compile with Gradle, AS & IJ. It’s just that when I add a new activity it always goes into ‘src/main/java’, even when I initiate the procedure from ‘src/main/kotlin’

I can move the files manually, but that quickly gets to be quite tedious.