Refactor tasks.
authorXavier Ducrohet <xav@android.com>
Fri, 25 Jan 2013 21:49:05 +0000 (13:49 -0800)
committerXavier Ducrohet <xav@android.com>
Fri, 25 Jan 2013 22:38:55 +0000 (14:38 -0800)
commit8daef310036fb119d4eba698c28f49261ffe6226
tree52b2de6a3b0971b83a9b4a9c8c75d61e471e4abd
parente64dd64518a83616462aff413f0732d381ac3949
Refactor tasks.

I previously split the tasks into an internal class
and a non-internal class to separate the public
and private api of the tasks, but all this did
was introduce complication for a split that
was not enforced at the DSL level anyway.

So this merges back the internal and non-internal
task classes.

Change-Id: Ib73cff2d6f3bc04e546a6f64844faaa8500ad2bb
20 files changed:
gradle/src/main/groovy/com/android/build/gradle/BasePlugin.groovy
gradle/src/main/groovy/com/android/build/gradle/BuildVariant.groovy
gradle/src/main/groovy/com/android/build/gradle/internal/ApplicationVariant.groovy
gradle/src/main/groovy/com/android/build/gradle/internal/DefaultBuildVariant.groovy
gradle/src/main/groovy/com/android/build/gradle/internal/tasks/DexTask.groovy [deleted file]
gradle/src/main/groovy/com/android/build/gradle/internal/tasks/GenerateBuildConfigTask.groovy [deleted file]
gradle/src/main/groovy/com/android/build/gradle/internal/tasks/MergeResourcesTask.groovy [deleted file]
gradle/src/main/groovy/com/android/build/gradle/internal/tasks/PackageApplicationTask.groovy [deleted file]
gradle/src/main/groovy/com/android/build/gradle/internal/tasks/ZipAlignTask.groovy [deleted file]
gradle/src/main/groovy/com/android/build/gradle/tasks/AidlCompile.groovy [moved from gradle/src/main/groovy/com/android/build/gradle/internal/tasks/AidlCompileTask.groovy with 94% similarity]
gradle/src/main/groovy/com/android/build/gradle/tasks/Dex.groovy
gradle/src/main/groovy/com/android/build/gradle/tasks/GenerateBuildConfig.groovy
gradle/src/main/groovy/com/android/build/gradle/tasks/MergeResources.groovy
gradle/src/main/groovy/com/android/build/gradle/tasks/PackageApplication.groovy
gradle/src/main/groovy/com/android/build/gradle/tasks/ProcessAndroidResources.groovy [moved from gradle/src/main/groovy/com/android/build/gradle/internal/tasks/ProcessResourcesTask.groovy with 73% similarity]
gradle/src/main/groovy/com/android/build/gradle/tasks/ProcessAppManifest.groovy [moved from gradle/src/main/groovy/com/android/build/gradle/internal/tasks/ProcessManifestTask.groovy with 89% similarity]
gradle/src/main/groovy/com/android/build/gradle/tasks/ProcessManifest.groovy
gradle/src/main/groovy/com/android/build/gradle/tasks/ProcessResources.groovy [deleted file]
gradle/src/main/groovy/com/android/build/gradle/tasks/ProcessTestManifest.groovy [moved from gradle/src/main/groovy/com/android/build/gradle/internal/tasks/ProcessTestManifestTask.groovy with 88% similarity]
gradle/src/main/groovy/com/android/build/gradle/tasks/ZipAlign.groovy