Search Gradle plugins

com.github.lanchon.dexpatcher.patch-library

Owner: Lanchon

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/

Sources: https://github.com/Lanchon/DexPatcher-gradle

Version 2.0.0-beta1

2.0.0-beta1

Created 02 July 2019.

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects