Class: Fastlane::Actions::GradlePropertiesAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::GradlePropertiesAction
- Defined in:
- lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .return_value ⇒ Object
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
18 19 20 |
# File 'lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb', line 18 def self. ["Ryo Sakaguchi"] end |
.available_options ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb', line 30 def self. [ 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 ⇒ Object
14 15 16 |
# File 'lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb', line 14 def self.description "Read properties in your Fastfile easily" end |
.details ⇒ Object
26 27 28 |
# File 'lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb', line 26 def self.details "" end |
.is_supported?(platform) ⇒ Boolean
50 51 52 |
# File 'lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb', line 50 def self.is_supported?(platform) true end |
.return_value ⇒ Object
22 23 24 |
# File 'lib/fastlane/plugin/gradle_properties/actions/gradle_properties_action.rb', line 22 def self.return_value "Property value" end |
.run(params) ⇒ Object
7 8 9 10 11 12 |
# 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 |