class Fastlane::Actions::GradlePropertiesAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb, line 30 def self.available_options [ FastlaneCore::ConfigItem.new( key: :path, env_name: "PROPERTY_FILE_PATH", description: "File path", optional: false, type: String, default_value: "gradle.properties" ), FastlaneCore::ConfigItem.new( key: :property_name, env_name: "PROPERTY", description: "Property name that you want to retrieve", optional: false, type: String ) ] end
description()
click to toggle source
# File lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb, line 14 def self.description "Read properties in your Fastfile easily" end
details()
click to toggle source
# File lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb, line 26 def self.details "" end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb, line 50 def self.is_supported?(platform) true end
return_value()
click to toggle source
# File lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb, line 22 def self.return_value "Property value" end
run(params)
click to toggle source
# File lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb, line 7 def self.run(params) Helper::GradlePropertiesHelper.load_property( params[:path], params[:property_name].to_sym ) end