Search Gradle plugins

com.rockwellits.patchflutteraccessibility

Overrides Flutter's AccessibilityBridge class to be compatible with WearHF Android service by exposing Semantics node value as content-desc attribute of a resulting View. Works with Flutter 1 and 2

https://github.com/Skyggedans/gradle-patchflutteraccessibility-plugin

Sources: https://github.com/Skyggedans/gradle-patchflutteraccessibility-plugin

Version 1.0 (latest)

Created 02 July 2020.

Overrides Flutter's AccessibilityBridge class to be compatible with WearHF Android service by exposing Semantics node value as content-desc attribute of a resulting View. Works with Flutter 1 and 2

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.rockwellits.patchflutteraccessibility") version "1.0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.rockwellits.patchflutteraccessibility:com.rockwellits.patchflutteraccessibility.gradle.plugin:1.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.rockwellits.patchflutteraccessibility")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.rockwellits.patchflutteraccessibility:com.rockwellits.patchflutteraccessibility.gradle.plugin:1.0")
      }
    }
    
    apply(plugin = "com.rockwellits.patchflutteraccessibility")
  • Applying plugins to all subprojects .