![]() ![]() ![]() ![]() Our adle file looks like this:Īs you can see, Google’s suggested configuration is simple, and its even simpler if you use the Android Studio UI to configure you gradle files for you. When the library modules are within the project directory, telling gradle to build them is easy. This picture illustrates how Google suggests we handle multi-project setups: our main “app” module is supposed to depend on library modules that reside within the project directory. In this post, I will briefly explain Google’s recommended configuration, note its shortcomings, and recommend a different way to configure your gradle files to support multi-project setups in Android Studio. Google’s Gradle Plugin user guide recommends a method for configuring your gradle files to build multiple projects. An Alternative Multiproject Setup for Android Studio ![]()
0 Comments
Leave a Reply. |