Hunter
Hunter copied to clipboard
A fast, incremental, concurrent framework to develop compile plugin for android project to manipulate bytecode
 对应的Maven坐标应为: ``` classpath "cn.quinnchen.hunter:hunter-debug-plugin:${LATEST_VERSION_IN_README}" classpath "cn.quinnchen.hunter:hunter-transform:${LATEST_VERSION_IN_README}" implementation "cn.quinnchen.hunter:hunter-debug-library:${LATEST_VERSION_IN_README}" ... ``` 区别是:`quinn`-->`quinnchen`
``` Execution failed for task ':myapp:dexBuilderDebug'. > There were multiple failures while executing work items > A failure occurred while executing com.android.build.gradle.internal.dexing.DexWorkAction > Failed to process: /Users/meo/Documents/App/myapp/build/intermediates/transforms/DebugHunterTransform/debug/182.jar > A failure...
看了下代码,构造函数是不能在super前面插入代码的,字节码是非法的,所以如图所示的代码应该是有问题的 
前几日看了booster后的一个收获,可以通过spi的方式去实现
Thanks for the neat project, I managed to run this plugin in a project (kotlin + java) without major issues. If a function1 calls function2 we would see sth like...
This error is thrown. **A problem occurred configuring project ':app'. > Unsupported Android Gradle plugin version.** Project config: classpath 'com.android.tools.build:gradle:3.5.3' classpath 'com.quinn.hunter:hunter-timing-plugin:0.9.1' classpath 'com.quinn.hunter:hunter-transform:0.9.3' implementation 'com.quinn.hunter:hunter-timing-library:0.9.4'