Configure IntelliJ to build new project with IntelliJ and not Gradle

已回答

As you can see on screenshot below, I'm using IntelliJ to compile and run projects. It's faster than Gradle and Composite Builds are not working with Gradle properly anyway. 

I have to change this setting for every new project and this is annoying...

 

Is is possible to set it globally for all projects? Or at least for each new project?

1

Hello,

Please vote for the related issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-223392

1

Thank you - this works great!

 

buildscript {
dependencies {
classpath "gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:0.7"
}
}

import static org.jetbrains.gradle.ext.ActionDelegationConfig.TestRunner.PLATFORM
idea.project.settings {
delegateActions {
delegateBuildRunToGradle = false
testRunner = PLATFORM
}
}
0

请先登录再写评论。