Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The subproject source code cannot be imported after Gradle's project is imported into IntelliJ.

Shulou Source: shulou.com Published: 2022-06-03 03:00:57 10月30日 Update

In a Gradle project, there are several subprojects.

When Gradle arrives, child items cannot be recognized by IntelliJ.

The code shown in the figure below is not automatically recognized.

This may be because your child project has not been added to the parent project.

Try to include the project in the settings.gradle file.

If you are using a Java project

Then you may need to add the following to the build.gradle:

Subprojects {apply plugin: 'java'}

Tags: Project subitem subproject code lieutenant general content file automatic identification faceted attempt source code Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux OPPO Reno Shulou Information vpn Xiaomi