Search Gradle plugins

io.github.aleksrychkov.methodhook

An Android Gradle plugin to inject method call at the beginning and end of methods in Android application at compile time

https://github.com/aleksrychkov/android-method-hook-plugin

Sources: https://github.com/aleksrychkov/android-method-hook-plugin.git

Version 0.2

0.2

Created 02 November 2024.

An Android Gradle plugin to inject method call at the beginning and end of methods in Android application at compile time

Using the plugins DSL:

plugins {
  id("io.github.aleksrychkov.methodhook") version "0.2"
}

Using legacy plugin application:

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

apply(plugin = "io.github.aleksrychkov.methodhook")

Using the plugins DSL:

plugins {
  id "io.github.aleksrychkov.methodhook" version "0.2"
}

Using legacy plugin application:

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

apply plugin: "io.github.aleksrychkov.methodhook"

Learn how to apply plugins to subprojects