Add:
build.gradle
in your root project folder, and use plugin for example:
apply plugin: 'idea'
//and standard one
apply plugin: 'java'
and with this fire from command line:
gradle cleanIdea
and after that:
gradle idea
After that everything should work
More Related Contents:
- How to set -source 1.7 in Android Studio and Gradle
- “The filename or extension is too long error” using gradle
- Error: Gradle: execution failed for task ‘:app:preDexDebug’
- Building with Intellij 2017.2 /out directory duplicates files in /build directory
- BUG! exception in phase ‘semantic analysis’
- Change remote repository credentials (authentication) on Intellij IDEA 14
- IntelliJ gradle add module dependency
- Failed to resolve: com.google.android.gms:play-services in IntelliJ Idea with gradle
- IntelliJ IDEA: Run java with args from external file
- JavaFX 11: IllegalAccessError when creating Label
- Eclipse “Error: Could not find or load main class”
- How to build sources JAR with Gradle?
- SpringBoot – making jar files – No auto configuration classes found in META-INF/spring.factories
- Setting active profile and config location from command line in spring boot
- How to specify the JDK version in Android Studio?
- IntelliJ IDEA incorrect encoding in console output
- Error: Could not find or load main class in intelliJ IDE
- :app:dexDebug ExecException finished with non-zero exit value 2
- Multi-module JavaFX maven project packaging issue
- Why does Intellij-IDEA ignore my tomcat/conf/server.xml Context tag?
- Spring Boot 2.6.0 / Spring fox 3 – Failed to start bean ‘documentationPluginsBootstrapper’
- How to create a .jar file or export JAR in IntelliJ IDEA (like Eclipse Java archive export)? [duplicate]
- Failed to import new Gradle project: failed to find Build Tools revision *.0.0
- Configure ViewResolver with Spring Boot and annotations gives No mapping found for HTTP request with URI error
- Gradle – getting the latest release version of a dependency
- Java – setting classpath
- How to change Java version for Maven in IntelliJ?
- Attaching additional javadoc in Intellij IDEA
- Using Keys with JGit to Access a Git Repository Securely
- Where do resource files go in a Gradle project that builds a Java 9 module?