Method: LicenseFinder::Configuration#gradle_command
- Defined in:
- lib/license_finder/configuration.rb
#gradle_command ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/license_finder/configuration.rb', line 24 def gradle_command get(:gradle_command) || ( if Platform.windows? wrapper = 'gradlew.bat' gradle = 'gradle.bat' else wrapper = 'gradlew' gradle = 'gradle' end executable = File.exist?(wrapper) ? wrapper : gradle "#{executable} --console plain" ) end |