Skip to content

Commit

Permalink
* fix the bug about build script generator (alibaba#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
lomanyong authored and aa5279aa committed Dec 7, 2016
1 parent aa81825 commit 0d31312
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class FreelineInitializer {

if (buildScript == null || buildScript == '') {
// set default build script
def isRootModuleTheMainModule = project.name == projectDescription.main_project_name
def isRootModuleTheMainModule = project.rootProject.name == projectDescription.main_project_name
projectDescription.build_script = FreelineGenerator.generateBuildScript(isRootModuleTheMainModule, projectDescription.main_project_name as String, productFlavor)
}

Expand Down

0 comments on commit 0d31312

Please sign in to comment.