diff options
author | Xavier Ducrohet <xav@android.com> | 2013-03-29 15:53:40 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2013-04-04 17:07:13 -0700 |
commit | a03b680faaebe3bbf93e2abc7a00f69377e6918d (patch) | |
tree | 86a1292ae5cc65db0a6b992b917465f2e1436fae /tests/api | |
parent | 5894d6b0a48611186d8630a14f66f5e12c76af18 (diff) | |
download | build-a03b680faaebe3bbf93e2abc7a00f69377e6918d.tar.gz |
Refactor ApplicationVariant/BuildVariant.
[Application|ProductionApp|TestApp]Variant
-> [Base|Apk|Application|Test|Library]VariantData
Also moved under internal.variant package
BuildVariant
-> [Base|Apk|Application|Test|Library]Variant
Also moved under api package. These are interfaces.
Implementation in internal.api
Change-Id: I6ef0a6433797325836a4ce39f9310641704eeda7
Diffstat (limited to 'tests/api')
-rw-r--r-- | tests/api/app/build.gradle | 2 | ||||
-rw-r--r-- | tests/api/lib/build.gradle | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/api/app/build.gradle b/tests/api/app/build.gradle index d05a6e2..0cf9a85 100644 --- a/tests/api/app/build.gradle +++ b/tests/api/app/build.gradle @@ -6,7 +6,7 @@ android { } // query for all (non-test) variants and inject a new step in the builds -android.buildVariants.each { variant -> +android.applicationVariants.each { variant -> // create a task that "handles" the compile classes // does some processing (or not) // and outputs a jar diff --git a/tests/api/lib/build.gradle b/tests/api/lib/build.gradle index 4630a6e..a354f5b 100644 --- a/tests/api/lib/build.gradle +++ b/tests/api/lib/build.gradle @@ -6,7 +6,7 @@ android { } // query for all (non-test) variants and inject a new step in the builds -android.buildVariants.each { variant -> +android.libraryVariants.each { variant -> // create a task that copies some additional data in the library bundle def copyBlahTask = tasks.add(name: "copy${variant.name.capitalize()}Blah", type: Copy) { from file("$project.projectDir/blah") |