This will import the gradle project with new module name. Project(':simpledateformatter').projectDir = new File(settingsDir, './simpledateformatter')Īfter it, we need to add a dependency to adle file in the project, we need to add to this files next line: compile project(':simpledateformatter')Īfter these changes, you will use additional module from default folder of additional module. Check import and edit the module name app to your-module-name and finish. We need to open ade file in "Main project" and we need to add few lines: include ':simpledateformatter' It’s better way for support you additional module, because if you add some changes to your additional library all your project will use this module with all changes. Using the latest Gradle, Android Gradle. You can configure gradle files in your project(s) and your applications can use one folder with you additional project without creating subfolders into project folder. If you stay up to date with your dependencies, you will get all the enhancements and optimizations they have to offer. In this case, the best way it’s configure gradle files for using additional folder without copy whole module to you project. In this appendix, we will learn to export Processing sketches as Gradle projects that can be compiled from the command line or imported into Android Studio. Clean an IntelliJ IDEA specific from a migrating project.idea directory and. It’s not the best ways for your module, because probably you want to use you additional module not just for one project.
Of course, it’s working correctly and you can use and modify your library, but in this case you will update just module into subfolder of you main project.