我需要从源代码构建工具构建一些组件。
我需要构建build-tools/25.0.3/lib/dx.jar
。
我发现源文件到底需要什么(我希望是这样):https://android.googlesource.com/platform/tools/base/+/gradle_2.3.0/build-system/builder/src/main/java/com/android/multidex/MainDexListBuilder.java
但是如何构建这个组件?
我试图获取这个git repo,但这还不够:
$ gradle tasks
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/tse/a/basegit/base/build.gradle' line: 1
* What went wrong:
A problem occurred evaluating root project 'base'.
> Plugin with id 'sdk-files' not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.611 secs
有人能说出正确的步骤顺序吗? 是否有任何开发人员的指示文章?