Sha256: 68a43604eaad56e3ff209d1e1694b5819268135a3214f0a378b796fbeb323151

Contents?: true

Size: 391 Bytes

Versions: 6

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

module Headdesk
  module Checks
    #
    # APKs should all target API 26+
    #
    # :reek:UncommunicativeModuleName
    class TargetSdkVersion
      include Check::APK

      check_name 'target_sdk_version'
      describe 'targetSdkVersion must be at least 28'
      def call
        fail_check unless: -> { apk.targets_sdk 28 }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
headdesk-0.17.0 lib/headdesk/checks/target_sdk_version.rb
headdesk-0.16.2 lib/headdesk/checks/target_sdk_version.rb
headdesk-0.16.1 lib/headdesk/checks/target_sdk_version.rb
headdesk-0.16.0 lib/headdesk/checks/target_sdk_version.rb
headdesk-0.15.1 lib/headdesk/checks/target_sdk_version.rb
headdesk-0.15.0 lib/headdesk/checks/target_sdk_version.rb