Search Gradle plugins

io.github.dexpatcher.patch-library

Owner: Lanchon

DexPatcher is a toolchain for modifying Android applications at source-level using Java and the full power of Android Studio. 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+)

https://dexpatcher.github.io/

Version 2.1.0 (latest)

Created 27 June 2020.

DexPatcher is a toolchain for modifying Android applications at source-level using Java and the full power of Android Studio. 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 "io.github.dexpatcher.patch-library" version "2.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.io.github.dexpatcher.dexpatcher-gradle:dexpatcher-gradle:2.1.0"
  }
}

apply plugin: "io.github.dexpatcher.patch-library"

Using the plugins DSL:

plugins {
  id("io.github.dexpatcher.patch-library") version "2.1.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects