Search Gradle plugins

com.github.lanchon.dexpatcher.patch-library

The DexPatcher Patch Library plugin produces a DexPatcher patch library file that bundles compiled changes and additions to code and resources of a source application imported as a DexPatcher APK library, without bundling any part of the source application itself. The file is similar in structure to an Android library (AAR) file. The changes bundled in a patch library can be applied to the source application using the DexPatcher Patched Application plugin. Several patch libraries can be applied in the same step, or their application can be serialized though the cyclic use of the APK Library and Patched Application plugins. DexPatcher is free software. (GPLv3+)

https://dexpatcher.github.io/

Version 1.0.0 (latest)

Created 30 October 2017.

The DexPatcher Patch Library plugin produces a DexPatcher patch library file that bundles compiled changes and additions to code and resources of a source application imported as a DexPatcher APK library, without bundling any part of the source application itself. The file is similar in structure to an Android library (AAR) file. The changes bundled in a patch library can be applied to the source application using the DexPatcher Patched Application plugin. Several patch libraries can be applied in the same step, or their application can be serialized though the cyclic use of the APK Library and Patched Application plugins. DexPatcher is free software. (GPLv3+)

Using the plugins DSL:

plugins {
  id "com.github.lanchon.dexpatcher.patch-library" version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.lanchon.dexpatcher:dexpatcher-gradle:1.0.0"
  }
}

apply plugin: "com.github.lanchon.dexpatcher.patch-library"

Using the plugins DSL:

plugins {
  id("com.github.lanchon.dexpatcher.patch-library") version "1.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.lanchon.dexpatcher:dexpatcher-gradle:1.0.0")
  }
}

apply(plugin = "com.github.lanchon.dexpatcher.patch-library")

Learn how to apply plugins to subprojects