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.1 (latest)

0.1

Created 31 May 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.1"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects