Skip to content

Commit

Permalink
* fix the bug about build script generator (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
lomanyong committed Nov 4, 2016
1 parent 7f783ac commit 8b679f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,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 8b679f3

Please sign in to comment.