Incompatibility of idea plugin and scala plugin in Gradle
The company considers starting to work in Scala. However, we could not include both plugins - scala and idea in same Gradle project. For example, starting a fresh & empty project we call 'sc' with this build.gradle:
plugins {
id 'idea'
id 'scala'
}
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
}
we get: Task with name 'ideaProject' not found in root project 'sc'.
Does anyone know how to resolve this show stopper issue?
Versions:
Intellij: 2019.1, Gradle: 4.10.2
Thanks!
请先登录再写评论。
I'm having the same problem using the idea ext plugin together the scala plugin:
Idea 2021.2 Gradle 5.6
Still the same problem in IDEA 2021.2.4 UE, gradle 7.4.2
Still present in IDEA Ultimate 2024.2.3, gradle 8.7