Search Gradle plugins

pl.droidsonroids.animation-disabler

Gradle plugin for disabling animations in global settings before UI tests and reenabling them afterwards

https://github.com/koral--/android-animation-disabler

Sources: https://github.com/koral--/android-animation-disabler.git

Version 1.0.9 (latest)

Created 25 June 2021.

Gradle plugin for disabling animations in global settings before UI tests and reenabling them afterwards

Add this plugin to your build using the plugins DSL:

plugins {
  id("pl.droidsonroids.animation-disabler") version "1.0.9"
}

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("pl.droidsonroids.animation-disabler:pl.droidsonroids.animation-disabler.gradle.plugin:1.0.9")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("pl.droidsonroids.animation-disabler")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("pl.droidsonroids.animation-disabler:pl.droidsonroids.animation-disabler.gradle.plugin:1.0.9")
      }
    }
    
    apply(plugin = "pl.droidsonroids.animation-disabler")
  • Applying plugins to all subprojects .