lib/dryrun/android_project.rb in dryrun-0.6.2 vs lib/dryrun/android_project.rb in dryrun-0.6.3

- old
+ new

@@ -9,11 +9,11 @@ @custom_app_path = custom_app_path @custom_module = custom_module @base_path = path @flavour = flavour - + @settings_gradle_path = settings_gradle_file check_custom_app_path @modules = find_modules @@ -80,10 +80,12 @@ end builder = "gradle" if File.exist?('gradlew') - DryrunUtils.execute('chmod +x gradlew') + if !Gem.win_platform? + DryrunUtils.execute('chmod +x gradlew') + end builder = './gradlew' end # Generate the gradle/ folder