A fast, incremental, concurrent framework to develop compile plugin for android project to manipulate bytecode
Hunter is a framework designed to develop Android Gradle plugins using ASM and Gradle Transform API. It offers a range of scalable plugins for Android developers, allowing them to monitor their app, enhance 3rd-party dependencies, and improve the Android framework. Hunter’s plugins support incremental and concurrent compilation, minimizing additional build time. The latest version of Hunter has been published to MavenCentral.
To install the Hunter framework and its plugins, follow these steps:
build.gradle file:buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.quinn.hunter:hunter-transform:latest_version'
}
}
apply plugin: 'hunter'
Replace latest_version in the code snippet above with the actual latest version of Hunter.
Add the desired plugins to your project’s build.gradle file under the hunter block. For example:
hunter {
plugins {
okhttp_plugin()
timing_plugin()
debug_plugin()
logline_plugin()
}
}
Hunter is a powerful framework for developing Android Gradle plugins. It offers a range of plugins that allow developers to enhance their apps, 3rd-party dependencies, and the Android framework itself. With features like timing, debugging, and log line enhancements, Hunter provides useful tools for monitoring and optimizing Android applications.