#NEWLINE# def update( path , data , dryrun = False , remote = False , gradle = False ) : #NEWLINE# #INDENT# global is_dryrun #NEWLINE# is_dryrun = dryrun #NEWLINE# global check_remote #NEWLINE# check_remote = remote #NEWLINE# global check_gradle #NEWLINE# check_gradle = gradle #NEWLINE# for file in filter ( path , 'build.gradle' ) : #NEWLINE# #INDENT# parse_dependency ( gradle_version , data ) #NEWLINE# #UNINDENT# if check_gradle : #NEWLINE# #INDENT# gradle_version = andle . gradle . load ( ) #NEWLINE# for file in filter ( path , 'gradle-wrapper.properties' ) : #NEWLINE# #INDENT# parse_gradle ( file , gradle_version )