Class: Fastlane::Actions::AndroidBaseAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::AndroidBaseAction
show all
- Defined in:
- lib/fastlane/plugin/android_version_manager/actions/android_base_action.rb
Class Method Summary
collapse
Class Method Details
.app_project_dir_action ⇒ Object
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# File 'lib/fastlane/plugin/android_version_manager/actions/android_base_action.rb', line 15
def self.app_project_dir_action
FastlaneCore::ConfigItem.new(
key: :app_project_dir,
env_name: "FL_ANDROID_GET_VERSION_CODE_APP_PROJECT_DIR",
description: "The path to the application source folder in the Android project (default: android/app)",
optional: true,
type: String,
default_value: "android/app",
verify_block: proc do |value|
UI.user_error!("Couldn't find build.gradle or build.gradle.kts file at path '#{value}'") unless Helper::AndroidVersionManagerHelper.build_gradle_exists?(value)
end
)
end
|
.authors ⇒ Object
7
8
9
|
# File 'lib/fastlane/plugin/android_version_manager/actions/android_base_action.rb', line 7
def self.authors
["Jonathan Cardoso", "@_jonathancardos", "JCMais", "Nicolas Verinaud"]
end
|
.find_build_gradle(app_project_dir) ⇒ Object
.is_supported?(platform) ⇒ Boolean
11
12
13
|
# File 'lib/fastlane/plugin/android_version_manager/actions/android_base_action.rb', line 11
def self.is_supported?(platform)
platform == :android
end
|