遍历一个简单的android工程中gradle编译时的所有task,打印其依赖和输入输出

81 篇文章 3 订阅
19 篇文章 0 订阅

我们开发中如果涉及到gradle的开发,经常需要查看各个task的输入输出。我在这里创建了一个空的android项目,然后遍历了它gradle编译时的所有task,并打印了其依赖和输入输出,方便查阅。

遍历的代码非常简单:


project.afterEvaluate(new Action<Project>() {
    @Override
    public void execute(Project project) {
        Map<Project, Set<Task>> allTasks = project.getAllTasks(true);
        for (Map.Entry<Project, Set<Task>> projectSetEntry : allTasks.entrySet()) {
            Set<Task> value = projectSetEntry.getValue();
            for (Task task : value) {
                try {
                    System.out.println("----------------------------------");
                    System.out.println(task.getName());
                    for (Object o : task.getDependsOn()) {
                        System.out.println("dependOn--> " + o.toString());
                    }

                    for (File file : task.getInputs().getFiles().getFiles()) {
                        System.out.println("input--> " + file.getAbsolutePath());
                    }

                    for (File file : task.getOutputs().getFiles().getFiles()) {
                        System.out.println("output--> " + file.getAbsolutePath());
                    }
                    System.out.println("----------------------------------");
                } catch (Exception e) {
                    e.printStackTrace()
                }
            }
        }
    }
});

下面是运行的结果,记录在这里,方便查阅。

----------------------------------
assemble
dependOn--> org.gradle.api.internal.artifacts.DefaultPublishArtifactSet$ArtifactsTaskDependency@6bf36307
dependOn--> assembleDebug
dependOn--> assembleRelease
----------------------------------
----------------------------------
assembleAndroidTest
dependOn--> assembleDebugAndroidTest
----------------------------------
----------------------------------
assembleDebug
dependOn--> packageDebug
dependOn--> compileDebugSources
----------------------------------
----------------------------------
assembleDebugAndroidTest
dependOn--> packageDebugAndroidTest
dependOn--> compileDebugAndroidTestSources
----------------------------------
----------------------------------
assembleDebugUnitTest
dependOn--> compileDebugUnitTestSources
dependOn--> mockableAndroidJar
----------------------------------
----------------------------------
assembleRelease
dependOn--> lintVitalRelease
dependOn--> packageRelease
dependOn--> compileReleaseSources
----------------------------------
----------------------------------
assembleReleaseUnitTest
dependOn--> compileReleaseUnitTestSources
dependOn--> mockableAndroidJar
----------------------------------
----------------------------------
build
dependOn--> check
dependOn--> assemble
----------------------------------
----------------------------------
buildDependents
dependOn--> build
----------------------------------
----------------------------------
buildNeeded
dependOn--> build
----------------------------------
----------------------------------
bundleAppClassesDebug
input--> /Users/username/project/testProject/app/build/tmp/bundleAppClassesDebug/MANIFEST.MF
output--> /Users/username/project/testProject/app/build/intermediates/classes-jar/debug/classes.jar
----------------------------------
----------------------------------
bundleAppClassesDebugAndroidTest
input--> /Users/username/project/testProject/app/build/tmp/bundleAppClassesDebugAndroidTest/MANIFEST.MF
output--> /Users/username/project/testProject/app/build/intermediates/classes-jar/androidTest/debug/classes.jar
----------------------------------
----------------------------------
bundleAppClassesDebugUnitTest
input--> /Users/username/project/testProject/app/build/tmp/bundleAppClassesDebugUnitTest/MANIFEST.MF
output--> /Users/username/project/testProject/app/build/intermediates/classes-jar/test/debug/classes.jar
----------------------------------
----------------------------------
bundleAppClassesRelease
input--> /Users/username/project/testProject/app/build/tmp/bundleAppClassesRelease/MANIFEST.MF
output--> /Users/username/project/testProject/app/build/intermediates/classes-jar/release/classes.jar
----------------------------------
----------------------------------
bundleAppClassesReleaseUnitTest
input--> /Users/username/project/testProject/app/build/tmp/bundleAppClassesReleaseUnitTest/MANIFEST.MF
output--> /Users/username/project/testProject/app/build/intermediates/classes-jar/test/release/classes.jar
----------------------------------
----------------------------------
check
dependOn--> lint
dependOn--> test
----------------------------------
----------------------------------
checkDebugManifest
dependOn--> preDebugBuild
output--> /Users/username/project/testProject/app/build/intermediates/check-manifest/debug
----------------------------------
----------------------------------
checkReleaseManifest
dependOn--> preReleaseBuild
output--> /Users/username/project/testProject/app/build/intermediates/check-manifest/release
----------------------------------
----------------------------------
clean
----------------------------------
----------------------------------
cleanBuildCache
----------------------------------
----------------------------------
compileDebugAidl
dependOn--> preDebugBuild
output--> /Users/username/project/testProject/app/build/intermediates/incremental/compileDebugAidl
output--> /Users/username/project/testProject/app/build/generated/source/aidl/debug
----------------------------------
----------------------------------
compileDebugAndroidTestAidl
dependOn--> preDebugAndroidTestBuild
output--> /Users/username/project/testProject/app/build/intermediates/incremental/compileDebugAndroidTestAidl
output--> /Users/username/project/testProject/app/build/generated/source/aidl/androidTest/debug
----------------------------------
----------------------------------
compileDebugAndroidTestJavaWithJavac
dependOn--> generateDebugAndroidTestSources
input--> /Users/username/project/testProject/app/build/intermediates/javaPrecompile/androidTest/debug/annotationProcessors.json
input--> /Users/username/project/testProject/app/build/intermediates/classes-jar/debug/classes.jar
input--> /Users/username/project/testProject/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.java
input--> /Users/username/Library/Android/sdk/platforms/android-28/android.jar
output--> /Users/username/project/testProject/app/build/generated/source/apt/androidTest/debug
output--> /Users/username/project/testProject/app/build/intermediates/classes/androidTest/debug
----------------------------------
----------------------------------
compileDebugAndroidTestNdk
dependOn--> preDebugAndroidTestBuild
output--> /Users/username/project/testProject/app/build/intermediates/ndk/androidTest/debug/Android.mk
output--> /Users/username/project/testProject/app/build/intermediates/ndk/androidTest/debug/obj
output--> /Users/username/project/testProject/app/build/intermediates/ndk/androidTest/debug/lib
----------------------------------
----------------------------------
compileDebugAndroidTestRenderscript
dependOn--> processDebugAndroidTestManifest
output--> /Users/username/project/testProject/app/build/intermediates/rs/androidTest/debug/lib
output--> /Users/username/project/testProject/app/build/intermediates/rs/androidTest/debug/obj
output--> /Users/username/project/testProject/app/build/generated/res/rs/androidTest/debug
output--> /Users/username/project/testProject/app/build/generated/source/rs/androidTest/debug
----------------------------------
----------------------------------
compileDebugAndroidTestShaders
dependOn--> mergeDebugAndroidTestShaders
output--> /Users/username/project/testProject/app/build/generated/assets/shaders/androidTest/debug
----------------------------------
----------------------------------
compileDebugAndroidTestSources
dependOn--> compileDebugAndroidTestNdk
dependOn--> compileDebugAndroidTestJavaWithJavac
----------------------------------
----------------------------------
compileDebugJavaWithJavac
dependOn--> generateDebugSources
input--> /Users/username/project/testProject/app/build/intermediates/javaPrecompile/debug/annotationProcessors.json
input--> /Users/username/project/testProject/app/src/main/java/com/example/myapplication/FileUtils.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/myapplication/MainActivity.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/myapplication/AppDelegate.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/myapplication/DebugLog.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/dynamicCmd/CmdInvoker.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/dynamicCmd/command/cmd.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/dynamicCmd/DynamicCmdManager.java
input--> /Users/username/project/testProject/app/build/generated/source/r/debug/com/example/myapplication/R.java
input--> /Users/username/project/testProject/app/build/generated/source/buildConfig/debug/com/example/myapplication/BuildConfig.java
input--> /Users/username/Library/Android/sdk/platforms/android-28/android.jar
output--> /Users/username/project/testProject/app/build/generated/source/apt/debug
output--> /Users/username/project/testProject/app/build/intermediates/classes/debug
----------------------------------
----------------------------------
compileDebugNdk
dependOn--> preDebugBuild
output--> /Users/username/project/testProject/app/build/intermediates/ndk/debug/Android.mk
output--> /Users/username/project/testProject/app/build/intermediates/ndk/debug/obj
output--> /Users/username/project/testProject/app/build/intermediates/ndk/debug/lib
----------------------------------
----------------------------------
compileDebugRenderscript
dependOn--> preDebugBuild
output--> /Users/username/project/testProject/app/build/intermediates/rs/debug/lib
output--> /Users/username/project/testProject/app/build/intermediates/rs/debug/obj
output--> /Users/username/project/testProject/app/build/generated/res/rs/debug
output--> /Users/username/project/testProject/app/build/generated/source/rs/debug
----------------------------------
----------------------------------
compileDebugShaders
dependOn--> mergeDebugShaders
output--> /Users/username/project/testProject/app/build/generated/assets/shaders/debug
----------------------------------
----------------------------------
compileDebugSources
dependOn--> compileDebugNdk
dependOn--> compileDebugJavaWithJavac
----------------------------------
----------------------------------
compileDebugUnitTestJavaWithJavac
dependOn--> compileDebugJavaWithJavac
input--> /Users/username/project/testProject/app/build/intermediates/javaPrecompile/test/debug/annotationProcessors.json
input--> /Users/username/project/testProject/app/build/intermediates/classes/debug
input--> /Users/username/project/testProject/app/src/test/java/com/example/myapplication/ExampleUnitTest.java
input--> /Users/username/Library/Android/sdk/platforms/android-28/android.jar
output--> /Users/username/project/testProject/app/build/generated/source/apt/test/debug
output--> /Users/username/project/testProject/app/build/intermediates/classes/test/debug
----------------------------------
----------------------------------
compileDebugUnitTestSources
dependOn--> processDebugUnitTestJavaRes
dependOn--> compileDebugUnitTestJavaWithJavac
dependOn--> processDebugJavaRes
----------------------------------
----------------------------------
compileLint
output--> /Users/username/project/testProject/app/build/intermediates/lint
----------------------------------
----------------------------------
compileReleaseAidl
dependOn--> preReleaseBuild
output--> /Users/username/project/testProject/app/build/intermediates/incremental/compileReleaseAidl
output--> /Users/username/project/testProject/app/build/generated/source/aidl/release
----------------------------------
----------------------------------
compileReleaseJavaWithJavac
dependOn--> generateReleaseSources
input--> /Users/username/project/testProject/app/build/intermediates/javaPrecompile/release/annotationProcessors.json
input--> /Users/username/project/testProject/app/src/main/java/com/example/myapplication/FileUtils.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/myapplication/MainActivity.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/myapplication/AppDelegate.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/myapplication/DebugLog.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/dynamicCmd/CmdInvoker.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/dynamicCmd/command/cmd.java
input--> /Users/username/project/testProject/app/src/main/java/com/example/dynamicCmd/DynamicCmdManager.java
input--> /Users/username/project/testProject/app/build/generated/source/r/release/com/example/myapplication/R.java
input--> /Users/username/project/testProject/app/build/generated/source/buildConfig/release/com/example/myapplication/BuildConfig.java
input--> /Users/username/Library/Android/sdk/platforms/android-28/android.jar
output--> /Users/username/project/testProject/app/build/generated/source/apt/release
output--> /Users/username/project/testProject/app/build/intermediates/classes/release
----------------------------------
----------------------------------
compileReleaseNdk
dependOn--> preReleaseBuild
output--> /Users/username/project/testProject/app/build/intermediates/ndk/release/Android.mk
output--> /Users/username/project/testProject/app/build/intermediates/ndk/release/obj
output--> /Users/username/project/testProject/app/build/intermediates/ndk/release/lib
----------------------------------
----------------------------------
compileReleaseRenderscript
dependOn--> preReleaseBuild
output--> /Users/username/project/testProject/app/build/intermediates/rs/release/lib
output--> /Users/username/project/testProject/app/build/intermediates/rs/release/obj
output--> /Users/username/project/testProject/app/build/generated/res/rs/release
output--> /Users/username/project/testProject/app/build/generated/source/rs/release
----------------------------------
----------------------------------
compileReleaseShaders
dependOn--> mergeReleaseShaders
output--> /Users/username/project/testProject/app/build/generated/assets/shaders/release
----------------------------------
----------------------------------
compileReleaseSources
dependOn--> compileReleaseNdk
dependOn--> compileReleaseJavaWithJavac
----------------------------------
----------------------------------
compileReleaseUnitTestJavaWithJavac
dependOn--> compileReleaseJavaWithJavac
input--> /Users/username/project/testProject/app/build/intermediates/javaPrecompile/test/release/annotationProcessors.json
input--> /Users/username/project/testProject/app/build/intermediates/classes/release
input--> /Users/username/project/testProject/app/src/test/java/com/example/myapplication/ExampleUnitTest.java
input--> /Users/username/Library/Android/sdk/platforms/android-28/android.jar
output--> /Users/username/project/testProject/app/build/generated/source/apt/test/release
output--> /Users/username/project/testProject/app/build/intermediates/classes/test/release
----------------------------------
----------------------------------
compileReleaseUnitTestSources
dependOn--> processReleaseUnitTestJavaRes
dependOn--> processReleaseJavaRes
dependOn--> compileReleaseUnitTestJavaWithJavac
----------------------------------
----------------------------------
connectedAndroidTest
dependOn--> connectedDebugAndroidTest
----------------------------------
----------------------------------
connectedCheck
dependOn--> connectedAndroidTest
----------------------------------
----------------------------------
connectedDebugAndroidTest
dependOn--> assembleDebug
dependOn--> assembleDebugAndroidTest
input--> /Users/username/Library/Android/sdk/build-tools/26.0.2/split-select
input--> /Users/username/project/testProject/app/build/outputs/apk/androidTest/debug
input--> /Users/username/project/testProject/app/build/outputs/apk/debug
output--> /Users/username/project/testProject/app/build/outputs/code-coverage/connected
----------------------------------
----------------------------------
consumeConfigAttr
----------------------------------
----------------------------------
createDebugCompatibleScreenManifests
output--> /Users/username/project/testProject/app/build/intermediates/manifests/density/debug
----------------------------------
----------------------------------
createReleaseCompatibleScreenManifests
output--> /Users/username/project/testProject/app/build/intermediates/manifests/density/release
----------------------------------
----------------------------------
deviceAndroidTest
----------------------------------
----------------------------------
deviceCheck
dependOn--> deviceAndroidTest
----------------------------------
----------------------------------
extractProguardFiles
dependOn--> preBuild
output--> /Users/username/project/testProject/build/intermediates/proguard-files/proguard-android-optimize.txt-3.0.1
output--> /Users/username/project/testProject/build/intermediates/proguard-files/proguard-defaults.txt-3.0.1
output--> /Users/username/project/testProject/build/intermediates/proguard-files/proguard-android.txt-3.0.1
----------------------------------
----------------------------------
generateDebugAndroidTestAssets
dependOn--> compileDebugAndroidTestShaders
----------------------------------
----------------------------------
generateDebugAndroidTestBuildConfig
dependOn--> processDebugAndroidTestManifest
output--> /Users/username/project/testProject/app/build/generated/source/buildConfig/androidTest/debug
----------------------------------
----------------------------------
generateDebugAndroidTestResValues
output--> /Users/username/project/testProject/app/build/generated/res/resValues/androidTest/debug
----------------------------------
----------------------------------
generateDebugAndroidTestResources
dependOn--> compileDebugAndroidTestRenderscript
dependOn--> generateDebugAndroidTestResValues
----------------------------------
----------------------------------
generateDebugAndroidTestSources
dependOn--> processDebugAndroidTestResources
dependOn--> prepareLintJar
dependOn--> generateDebugAndroidTestBuildConfig
dependOn--> compileDebugAndroidTestRenderscript
dependOn--> compileDebugAndroidTestAidl
----------------------------------
----------------------------------
generateDebugAssets
dependOn--> compileDebugShaders
----------------------------------
----------------------------------
generateDebugBuildConfig
dependOn--> checkDebugManifest
output--> /Users/username/project/testProject/app/build/generated/source/buildConfig/debug
----------------------------------
----------------------------------
generateDebugResValues
output--> /Users/username/project/testProject/app/build/generated/res/resValues/debug
----------------------------------
----------------------------------
generateDebugResources
dependOn--> compileDebugRenderscript
dependOn--> generateDebugResValues
----------------------------------
----------------------------------
generateDebugSources
dependOn--> processDebugResources
dependOn--> prepareLintJar
dependOn--> compileDebugRenderscript
dependOn--> compileDebugAidl
dependOn--> generateDebugBuildConfig
----------------------------------
----------------------------------
generateReleaseAssets
dependOn--> compileReleaseShaders
----------------------------------
----------------------------------
generateReleaseBuildConfig
dependOn--> checkReleaseManifest
output--> /Users/username/project/testProject/app/build/generated/source/buildConfig/release
----------------------------------
----------------------------------
generateReleaseResValues
output--> /Users/username/project/testProject/app/build/generated/res/resValues/release
----------------------------------
----------------------------------
generateReleaseResources
dependOn--> compileReleaseRenderscript
dependOn--> generateReleaseResValues
----------------------------------
----------------------------------
generateReleaseSources
dependOn--> prepareLintJar
dependOn--> processReleaseResources
dependOn--> compileReleaseRenderscript
dependOn--> generateReleaseBuildConfig
dependOn--> compileReleaseAidl
----------------------------------
----------------------------------
installDebug
dependOn--> assembleDebug
input--> /Users/username/Library/Android/sdk/platform-tools/adb
input--> /Users/username/Library/Android/sdk/build-tools/26.0.2/split-select
----------------------------------
----------------------------------
installDebugAndroidTest
dependOn--> assembleDebugAndroidTest
input--> /Users/username/Library/Android/sdk/platform-tools/adb
input--> /Users/username/Library/Android/sdk/build-tools/26.0.2/split-select
----------------------------------
----------------------------------
javaPreCompileDebug
dependOn--> preDebugBuild
output--> /Users/username/project/testProject/app/build/intermediates/javaPrecompile/debug/annotationProcessors.json
----------------------------------
----------------------------------
javaPreCompileDebugAndroidTest
dependOn--> preDebugAndroidTestBuild
input--> /Users/username/project/testProject/app/build/intermediates/classes-jar/debug/classes.jar
output--> /Users/username/project/testProject/app/build/intermediates/javaPrecompile/androidTest/debug/annotationProcessors.json
----------------------------------
----------------------------------
javaPreCompileDebugUnitTest
dependOn--> preDebugUnitTestBuild
input--> /Users/username/project/testProject/app/build/intermediates/classes/debug
output--> /Users/username/project/testProject/app/build/intermediates/javaPrecompile/test/debug/annotationProcessors.json
----------------------------------
----------------------------------
javaPreCompileRelease
dependOn--> preReleaseBuild
output--> /Users/username/project/testProject/app/build/intermediates/javaPrecompile/release/annotationProcessors.json
----------------------------------
----------------------------------
javaPreCompileReleaseUnitTest
dependOn--> preReleaseUnitTestBuild
input--> /Users/username/project/testProject/app/build/intermediates/classes/release
output--> /Users/username/project/testProject/app/build/intermediates/javaPrecompile/test/release/annotationProcessors.json
----------------------------------
----------------------------------
lint
input--> /Users/username/project/testProject/app/build/intermediates/lint/lint.jar
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/debug
input--> /Users/username/project/testProject/app/build/outputs/logs/manifest-merger-debug-report.txt
input--> /Users/username/project/testProject/app/build/intermediates/classes/debug
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/release
input--> /Users/username/project/testProject/app/build/outputs/logs/manifest-merger-release-report.txt
input--> /Users/username/project/testProject/app/build/intermediates/classes/release
----------------------------------
----------------------------------
lintDebug
input--> /Users/username/project/testProject/app/build/intermediates/lint/lint.jar
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/debug
input--> /Users/username/project/testProject/app/build/outputs/logs/manifest-merger-debug-report.txt
input--> /Users/username/project/testProject/app/build/intermediates/classes/debug
----------------------------------
----------------------------------
lintRelease
input--> /Users/username/project/testProject/app/build/intermediates/lint/lint.jar
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/release
input--> /Users/username/project/testProject/app/build/outputs/logs/manifest-merger-release-report.txt
input--> /Users/username/project/testProject/app/build/intermediates/classes/release
----------------------------------
----------------------------------
lintVitalRelease
dependOn--> task ':app:compileReleaseJavaWithJavac'
input--> /Users/username/project/testProject/app/build/intermediates/lint/lint.jar
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/release
input--> /Users/username/project/testProject/app/build/outputs/logs/manifest-merger-release-report.txt
input--> /Users/username/project/testProject/app/build/intermediates/classes/release
----------------------------------
----------------------------------
mergeDebugAndroidTestAssets
dependOn--> generateDebugAndroidTestAssets
input--> /Users/username/project/testProject/app/build/generated/assets/shaders/androidTest/debug
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeDebugAndroidTestAssets
output--> /Users/username/project/testProject/app/build/intermediates/assets/androidTest/debug
----------------------------------
----------------------------------
mergeDebugAndroidTestJniLibFolders
dependOn--> generateDebugAndroidTestAssets
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeDebugAndroidTestJniLibFolders
output--> /Users/username/project/testProject/app/build/intermediates/jniLibs/androidTest/debug
----------------------------------
----------------------------------
mergeDebugAndroidTestResources
dependOn--> generateDebugAndroidTestResources
input--> /Users/username/project/testProject/app/build/generated/res/resValues/androidTest/debug
input--> /Users/username/project/testProject/app/build/generated/res/rs/androidTest/debug
output--> /Users/username/project/testProject/app/build/intermediates/blame/res/androidTest/debug
output--> /Users/username/project/testProject/app/build/generated/res/pngs/androidTest/debug
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeDebugAndroidTestResources
output--> /Users/username/project/testProject/app/build/intermediates/res/merged/androidTest/debug
----------------------------------
----------------------------------
mergeDebugAndroidTestShaders
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeDebugAndroidTestShaders
output--> /Users/username/project/testProject/app/build/intermediates/shaders/androidTest/debug
----------------------------------
----------------------------------
mergeDebugAssets
dependOn--> generateDebugAssets
input--> /Users/username/project/testProject/app/build/generated/assets/shaders/debug
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeDebugAssets
output--> /Users/username/project/testProject/app/build/intermediates/assets/debug
----------------------------------
----------------------------------
mergeDebugJniLibFolders
dependOn--> generateDebugAssets
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeDebugJniLibFolders
output--> /Users/username/project/testProject/app/build/intermediates/jniLibs/debug
----------------------------------
----------------------------------
mergeDebugResources
dependOn--> generateDebugResources
input--> /Users/username/project/testProject/app/build/generated/res/resValues/debug
input--> /Users/username/project/testProject/app/build/generated/res/rs/debug
output--> /Users/username/project/testProject/app/build/intermediates/blame/res/debug
output--> /Users/username/project/testProject/app/build/generated/res/pngs/debug
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeDebugResources
output--> /Users/username/project/testProject/app/build/intermediates/res/merged/debug
----------------------------------
----------------------------------
mergeDebugShaders
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeDebugShaders
output--> /Users/username/project/testProject/app/build/intermediates/shaders/debug
----------------------------------
----------------------------------
mergeReleaseAssets
dependOn--> generateReleaseAssets
input--> /Users/username/project/testProject/app/build/generated/assets/shaders/release
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeReleaseAssets
output--> /Users/username/project/testProject/app/build/intermediates/assets/release
----------------------------------
----------------------------------
mergeReleaseJniLibFolders
dependOn--> generateReleaseAssets
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeReleaseJniLibFolders
output--> /Users/username/project/testProject/app/build/intermediates/jniLibs/release
----------------------------------
----------------------------------
mergeReleaseResources
dependOn--> generateReleaseResources
input--> /Users/username/project/testProject/app/build/generated/res/resValues/release
input--> /Users/username/project/testProject/app/build/generated/res/rs/release
output--> /Users/username/project/testProject/app/build/intermediates/blame/res/release
output--> /Users/username/project/testProject/app/build/generated/res/pngs/release
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeReleaseResources
output--> /Users/username/project/testProject/app/build/intermediates/merged-not-compiled-resources/release
output--> /Users/username/project/testProject/app/build/intermediates/res/merged/release
----------------------------------
----------------------------------
mergeReleaseShaders
output--> /Users/username/project/testProject/app/build/intermediates/incremental/mergeReleaseShaders
output--> /Users/username/project/testProject/app/build/intermediates/shaders/release
----------------------------------
----------------------------------
mockableAndroidJar
input--> /Users/username/Library/Android/sdk/platforms/android-28/android.jar
output--> /Users/username/project/testProject/app/build/generated/mockable-android-28.v3.jar
----------------------------------
----------------------------------
packageDebug
dependOn--> processDebugResources
dependOn--> mergeDebugAssets
dependOn--> validateSigningDebug
dependOn--> compileDebugJavaWithJavac
input--> /Users/username/project/testProject/app/build/intermediates/assets/debug
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/debug
input--> /Users/username/project/testProject/app/build/intermediates/res/debug
input--> /Users/username/.android/debug.keystore
output--> /Users/username/project/testProject/app/build/intermediates/incremental/packageDebug
output--> /Users/username/project/testProject/app/build/outputs/apk/debug
----------------------------------
----------------------------------
packageDebugAndroidTest
dependOn--> processDebugAndroidTestResources
dependOn--> compileDebugAndroidTestJavaWithJavac
dependOn--> mergeDebugAndroidTestAssets
dependOn--> validateSigningDebugAndroidTest
input--> /Users/username/project/testProject/app/build/intermediates/assets/androidTest/debug
input--> /Users/username/project/testProject/app/build/intermediates/manifest/androidTest/debug
input--> /Users/username/project/testProject/app/build/intermediates/res/androidTest/debug
input--> /Users/username/.android/debug.keystore
output--> /Users/username/project/testProject/app/build/intermediates/incremental/packageDebugAndroidTest
output--> /Users/username/project/testProject/app/build/outputs/apk/androidTest/debug
----------------------------------
----------------------------------
packageRelease
dependOn--> mergeReleaseAssets
dependOn--> processReleaseResources
dependOn--> compileReleaseJavaWithJavac
input--> /Users/username/project/testProject/app/build/intermediates/assets/release
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/release
input--> /Users/username/project/testProject/app/build/intermediates/res_stripped/release
output--> /Users/username/project/testProject/app/build/intermediates/incremental/packageRelease
output--> /Users/username/project/testProject/app/build/outputs/apk/release
----------------------------------
----------------------------------
platformAttrExtractor
input--> /Users/username/Library/Android/sdk/platforms/android-28/android.jar
output--> /Users/username/project/testProject/app/build/intermediates/attr/R.txt
----------------------------------
----------------------------------
preBuild
----------------------------------
----------------------------------
preDebugAndroidTestBuild
dependOn--> preBuild
output--> /Users/username/project/testProject/app/build/intermediates/prebuild/androidTest/debug
----------------------------------
----------------------------------
preDebugBuild
dependOn--> preBuild
output--> /Users/username/project/testProject/app/build/intermediates/prebuild/debug
----------------------------------
----------------------------------
preDebugUnitTestBuild
dependOn--> preBuild
----------------------------------
----------------------------------
preReleaseBuild
dependOn--> extractProguardFiles
dependOn--> preBuild
output--> /Users/username/project/testProject/app/build/intermediates/prebuild/release
----------------------------------
----------------------------------
preReleaseUnitTestBuild
dependOn--> extractProguardFiles
dependOn--> preBuild
----------------------------------
----------------------------------
prepareLintJar
output--> /Users/username/project/testProject/app/build/intermediates/lint/lint.jar
----------------------------------
----------------------------------
processDebugAndroidTestJavaRes
dependOn--> preDebugAndroidTestBuild
output--> /Users/username/project/testProject/app/build/intermediates/sourceFolderJavaResources/androidTest/debug
----------------------------------
----------------------------------
processDebugAndroidTestManifest
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/debug
output--> /Users/username/project/testProject/app/build/intermediates/manifest/androidTest/debug
----------------------------------
----------------------------------
processDebugAndroidTestResources
input--> /Users/username/project/testProject/app/build/intermediates/res/merged/androidTest/debug
input--> /Users/username/project/testProject/app/build/intermediates/manifest/androidTest/debug
input--> /Users/username/project/testProject/app/build/intermediates/splits-support/androidTest/debug/split-list.gson
output--> /Users/username/project/testProject/app/build/intermediates/incremental/processDebugAndroidTestResources
output--> /Users/username/project/testProject/app/build/intermediates/res/androidTest/debug
output--> /Users/username/project/testProject/app/build/generated/source/r/androidTest/debug
output--> /Users/username/project/testProject/app/build/intermediates/res/symbol-table-with-package/androidTest/debug/package-aware-r.txt
output--> /Users/username/project/testProject/app/build/intermediates/symbols/androidTest/debug/R.txt
----------------------------------
----------------------------------
processDebugJavaRes
dependOn--> preDebugBuild
output--> /Users/username/project/testProject/app/build/intermediates/sourceFolderJavaResources/debug
----------------------------------
----------------------------------
processDebugManifest
dependOn--> checkDebugManifest
input--> /Users/username/project/testProject/app/build/intermediates/manifests/density/debug
input--> /Users/username/project/testProject/app/src/main/AndroidManifest.xml
output--> /Users/username/project/testProject/app/build/intermediates/manifests/instant-run/debug
output--> /Users/username/project/testProject/app/build/intermediates/manifests/full/debug
output--> /Users/username/project/testProject/app/build/outputs/logs/manifest-merger-debug-report.txt
----------------------------------
----------------------------------
processDebugResources
input--> /Users/username/project/testProject/app/build/intermediates/res/merged/debug
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/debug
input--> /Users/username/project/testProject/app/build/intermediates/splits-support/debug/split-list.gson
output--> /Users/username/project/testProject/app/build/intermediates/incremental/processDebugResources
output--> /Users/username/project/testProject/app/build/intermediates/res/debug
output--> /Users/username/project/testProject/app/build/generated/source/r/debug
output--> /Users/username/project/testProject/app/build/intermediates/res/symbol-table-with-package/debug/package-aware-r.txt
output--> /Users/username/project/testProject/app/build/intermediates/symbols/debug/R.txt
----------------------------------
----------------------------------
processDebugUnitTestJavaRes
dependOn--> preDebugUnitTestBuild
output--> /Users/username/project/testProject/app/build/intermediates/sourceFolderJavaResources/test/debug
----------------------------------
----------------------------------
processReleaseJavaRes
dependOn--> preReleaseBuild
output--> /Users/username/project/testProject/app/build/intermediates/sourceFolderJavaResources/release
----------------------------------
----------------------------------
processReleaseManifest
dependOn--> checkReleaseManifest
input--> /Users/username/project/testProject/app/build/intermediates/manifests/density/release
input--> /Users/username/project/testProject/app/src/main/AndroidManifest.xml
output--> /Users/username/project/testProject/app/build/intermediates/manifests/instant-run/release
output--> /Users/username/project/testProject/app/build/intermediates/manifests/full/release
output--> /Users/username/project/testProject/app/build/outputs/logs/manifest-merger-release-report.txt
----------------------------------
----------------------------------
processReleaseResources
input--> /Users/username/project/testProject/app/build/intermediates/res/merged/release
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/release
input--> /Users/username/project/testProject/app/build/intermediates/splits-support/release/split-list.gson
output--> /Users/username/project/testProject/app/build/intermediates/incremental/processReleaseResources
output--> /Users/username/project/testProject/app/build/intermediates/proguard-rules/release/aapt_rules.txt
output--> /Users/username/project/testProject/app/build/intermediates/res/release
output--> /Users/username/project/testProject/app/build/generated/source/r/release
output--> /Users/username/project/testProject/app/build/intermediates/res/symbol-table-with-package/release/package-aware-r.txt
output--> /Users/username/project/testProject/app/build/intermediates/symbols/release/R.txt
----------------------------------
----------------------------------
processReleaseUnitTestJavaRes
dependOn--> preReleaseUnitTestBuild
output--> /Users/username/project/testProject/app/build/intermediates/sourceFolderJavaResources/test/release
----------------------------------
----------------------------------
resolveConfigAttr
----------------------------------
----------------------------------
signingReport
----------------------------------
----------------------------------
sourceSets
----------------------------------
----------------------------------
splitsDiscoveryTaskDebug
output--> /Users/username/project/testProject/app/build/intermediates/splits-support/debug/split-list.gson
----------------------------------
----------------------------------
splitsDiscoveryTaskDebugAndroidTest
output--> /Users/username/project/testProject/app/build/intermediates/splits-support/androidTest/debug/split-list.gson
----------------------------------
----------------------------------
splitsDiscoveryTaskRelease
output--> /Users/username/project/testProject/app/build/intermediates/splits-support/release/split-list.gson
----------------------------------
----------------------------------
test
dependOn--> testDebugUnitTest
dependOn--> testReleaseUnitTest
----------------------------------
----------------------------------
testDebugUnitTest
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/debug
input--> /Users/username/project/testProject/app/build/intermediates/classes/test/debug
input--> /Users/username/project/testProject/app/build/intermediates/sourceFolderJavaResources/test/debug
input--> /Users/username/project/testProject/app/build/intermediates/classes/debug
input--> /Users/username/project/testProject/app/build/intermediates/sourceFolderJavaResources/debug
input--> /Users/username/project/testProject/app/build/generated/mockable-android-28.v3.jar
output--> /Users/username/project/testProject/app/build/test-results/testDebugUnitTest/binary
output--> /Users/username/project/testProject/app/build/reports/tests/testDebugUnitTest
output--> /Users/username/project/testProject/app/build/test-results/testDebugUnitTest
----------------------------------
----------------------------------
testReleaseUnitTest
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/release
input--> /Users/username/project/testProject/app/build/intermediates/classes/test/release
input--> /Users/username/project/testProject/app/build/intermediates/sourceFolderJavaResources/test/release
input--> /Users/username/project/testProject/app/build/intermediates/classes/release
input--> /Users/username/project/testProject/app/build/intermediates/sourceFolderJavaResources/release
input--> /Users/username/project/testProject/app/build/generated/mockable-android-28.v3.jar
output--> /Users/username/project/testProject/app/build/test-results/testReleaseUnitTest/binary
output--> /Users/username/project/testProject/app/build/reports/tests/testReleaseUnitTest
output--> /Users/username/project/testProject/app/build/test-results/testReleaseUnitTest
----------------------------------
----------------------------------
transformClassesAndResourcesWithProguardForRelease
output--> /Users/username/project/testProject/app/build/outputs/mapping/release/mapping.txt
output--> /Users/username/project/testProject/app/build/outputs/mapping/release/dump.txt
output--> /Users/username/project/testProject/app/build/outputs/mapping/release/seeds.txt
output--> /Users/username/project/testProject/app/build/outputs/mapping/release/usage.txt
output--> /Users/username/project/testProject/app/build/intermediates/transforms/proguard/release
----------------------------------
----------------------------------
transformClassesWithDexBuilderForDebug
output--> /Users/username/project/testProject/app/build/intermediates/transforms/dexBuilder/debug
----------------------------------
----------------------------------
transformClassesWithDexBuilderForDebugAndroidTest
output--> /Users/username/project/testProject/app/build/intermediates/transforms/dexBuilder/androidTest/debug
----------------------------------
----------------------------------
transformClassesWithDexForRelease
input--> /Users/username/project/testProject/app/build/intermediates/multi-dex/release/maindexlist.txt
output--> /Users/username/project/testProject/app/build/intermediates/transforms/dex/release
----------------------------------
----------------------------------
transformClassesWithShrinkResForRelease
input--> /Users/username/project/testProject/app/build/generated/source/r/release
input--> /Users/username/project/testProject/app/build/intermediates/merged-not-compiled-resources/release
input--> /Users/username/project/testProject/app/build/outputs/mapping/release/mapping.txt
input--> /Users/username/project/testProject/app/build/intermediates/manifests/full/release
input--> /Users/username/project/testProject/app/build/intermediates/res/release
input--> /Users/username/project/testProject/app/build/intermediates/splits-support/release/split-list.gson
output--> /Users/username/project/testProject/app/build/intermediates/res_stripped/release
----------------------------------
----------------------------------
transformDexArchiveWithDexMergerForDebug
output--> /Users/username/project/testProject/app/build/intermediates/transforms/dexMerger/debug
----------------------------------
----------------------------------
transformDexArchiveWithDexMergerForDebugAndroidTest
output--> /Users/username/project/testProject/app/build/intermediates/transforms/dexMerger/androidTest/debug
----------------------------------
----------------------------------
transformDexArchiveWithExternalLibsDexMergerForDebug
output--> /Users/username/project/testProject/app/build/intermediates/transforms/externalLibsDexMerger/debug
----------------------------------
----------------------------------
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest
output--> /Users/username/project/testProject/app/build/intermediates/transforms/externalLibsDexMerger/androidTest/debug
----------------------------------
----------------------------------
transformNativeLibsWithMergeJniLibsForDebug
output--> /Users/username/project/testProject/app/build/intermediates/incremental/debug-mergeJniLibs/zip-cache
output--> /Users/username/project/testProject/app/build/intermediates/transforms/mergeJniLibs/debug
----------------------------------
----------------------------------
transformNativeLibsWithMergeJniLibsForDebugAndroidTest
output--> /Users/username/project/testProject/app/build/intermediates/incremental/debugAndroidTest-mergeJniLibs/zip-cache
output--> /Users/username/project/testProject/app/build/intermediates/transforms/mergeJniLibs/androidTest/debug
----------------------------------
----------------------------------
transformNativeLibsWithMergeJniLibsForRelease
output--> /Users/username/project/testProject/app/build/intermediates/incremental/release-mergeJniLibs/zip-cache
output--> /Users/username/project/testProject/app/build/intermediates/transforms/mergeJniLibs/release
----------------------------------
----------------------------------
transformNativeLibsWithStripDebugSymbolForDebug
input--> /Users/username/Library/Android/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-strip
input--> /Users/username/Library/Android/sdk/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/bin/mips64el-linux-android-strip
input--> /Users/username/Library/Android/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip
input--> /Users/username/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip
input--> /Users/username/Library/Android/sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/darwin-x86_64/bin/x86_64-linux-android-strip
output--> /Users/username/project/testProject/app/build/intermediates/transforms/stripDebugSymbol/debug
----------------------------------
----------------------------------
transformNativeLibsWithStripDebugSymbolForRelease
input--> /Users/username/Library/Android/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/darwin-x86_64/bin/i686-linux-android-strip
input--> /Users/username/Library/Android/sdk/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/bin/mips64el-linux-android-strip
input--> /Users/username/Library/Android/sdk/ndk-bundle/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip
input--> /Users/username/Library/Android/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip
input--> /Users/username/Library/Android/sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/darwin-x86_64/bin/x86_64-linux-android-strip
output--> /Users/username/project/testProject/app/build/intermediates/transforms/stripDebugSymbol/release
----------------------------------
----------------------------------
transformResourcesWithMergeJavaResForDebug
output--> /Users/username/project/testProject/app/build/intermediates/incremental/debug-mergeJavaRes/zip-cache
output--> /Users/username/project/testProject/app/build/intermediates/transforms/mergeJavaRes/debug
----------------------------------
----------------------------------
transformResourcesWithMergeJavaResForDebugAndroidTest
output--> /Users/username/project/testProject/app/build/intermediates/incremental/debugAndroidTest-mergeJavaRes/zip-cache
output--> /Users/username/project/testProject/app/build/intermediates/transforms/mergeJavaRes/androidTest/debug
----------------------------------
----------------------------------
transformResourcesWithMergeJavaResForDebugUnitTest
output--> /Users/username/project/testProject/app/build/intermediates/incremental/debugUnitTest-mergeJavaRes/zip-cache
output--> /Users/username/project/testProject/app/build/intermediates/transforms/mergeJavaRes/test/debug
----------------------------------
----------------------------------
transformResourcesWithMergeJavaResForRelease
output--> /Users/username/project/testProject/app/build/intermediates/incremental/release-mergeJavaRes/zip-cache
output--> /Users/username/project/testProject/app/build/intermediates/transforms/mergeJavaRes/release
----------------------------------
----------------------------------
transformResourcesWithMergeJavaResForReleaseUnitTest
output--> /Users/username/project/testProject/app/build/intermediates/incremental/releaseUnitTest-mergeJavaRes/zip-cache
output--> /Users/username/project/testProject/app/build/intermediates/transforms/mergeJavaRes/test/release
----------------------------------
----------------------------------
uninstallAll
dependOn--> uninstallRelease
dependOn--> uninstallDebug
dependOn--> uninstallDebugAndroidTest
----------------------------------
----------------------------------
uninstallDebug
input--> /Users/username/Library/Android/sdk/platform-tools/adb
----------------------------------
----------------------------------
uninstallDebugAndroidTest
input--> /Users/username/Library/Android/sdk/platform-tools/adb
----------------------------------
----------------------------------
uninstallRelease
input--> /Users/username/Library/Android/sdk/platform-tools/adb
----------------------------------
----------------------------------
validateSigningDebug
----------------------------------
----------------------------------
validateSigningDebugAndroidTest
----------------------------------
----------------------------------
writeDebugApplicationId
output--> /Users/username/project/testProject/app/build/intermediates/applicationId/debug
----------------------------------
----------------------------------
writeReleaseApplicationId
output--> /Users/username/project/testProject/app/build/intermediates/applicationId/release
----------------------------------

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值