如何从 settings.gradle 创建模块
How create module from settings.gradle
我有这个gradel.settings
rootProject.name = 'dwelow'
include 'common'
include 'cmr-service'
include 'web-service'
include 'web-test'
添加它们之后 运行 我希望将它们创建为模块,这可能吗?
是的,您可以从 settings.gradle 创建子模块。每个子模块应该有单独的 build.gradle 文件。那么只有你可以 运行 应用程序特定模块。
我这边的问题是为什么?想在应用程序中创建多个模块。
我有这个gradel.settings
rootProject.name = 'dwelow'
include 'common'
include 'cmr-service'
include 'web-service'
include 'web-test'
添加它们之后 运行 我希望将它们创建为模块,这可能吗?
是的,您可以从 settings.gradle 创建子模块。每个子模块应该有单独的 build.gradle 文件。那么只有你可以 运行 应用程序特定模块。
我这边的问题是为什么?想在应用程序中创建多个模块。