blob: 792cac0c1a5699d883cbdc6a0d9272b65f3c53ed [file] [log] [blame]
Xavier Ducrohet301ed872013-11-14 11:23:45 -080010.7.0
Xavier Ducrohet9a9cd062013-11-19 10:32:23 -08002- Requires Gradle 1.9
Xavier Ducrohet627354f2013-11-21 15:09:34 -08003- You can now have a variant specific source folder if you have flavors.
4 Only for app (not library or test). Name is src/flavorDebug/... or src/flavor1Flavor2Debug/
5 (note the camelcase naming, with lower case for first letter).
Xavier Ducrohet6e000452013-11-22 17:50:20 -08006 Its components (res, manifest, etc...) have higher priority than components from build type
Xavier Ducrohet627354f2013-11-21 15:09:34 -08007 or flavors.
Xavier Ducrohet2cae6222013-11-25 15:35:44 -08008 There is also a "flavor combination" source folder available when more than one
9 flavor dimension is used.
10 For instance src/flavor1Flavor2/
11 Note that this is for all combinations of *all* dimensions.
Xavier Ducrohet6e000452013-11-22 17:50:20 -080012- Build config improvements and DSL changes.
13 The previous DSL proprety:
14 buildConfigLine "<value>"
15 has changed to
16 buildConfigField "<type>", "<name>", "<value>"
17 This allows override a field (see 'basic' sample)
18 Also, BuildConfig now automatically contains constants for
Xavier Ducrohet16c22b92013-12-03 14:25:53 -080019 PACKAGE_NAME, VERSION_CODE, VERSION_NAME, BUILD_TYPE, FLAVOR as well as FLAVOR_<group>, FLAVOR_<group>, etc... if there are several flavor dimensions.
Xavier Ducrohet301ed872013-11-14 11:23:45 -080020- Switch to ProGuard 4.10
Xavier Ducrohet18cb7aa2013-11-15 13:11:24 -080021 - Added ability to test proguarded (obfuscated) apps.
Xavier Ducrohetac055ae2013-12-03 18:35:31 -080022- New option on product Flavor (and defaultConfig) allow filtering of resources through the -c option of aapt
23 You can pass single or multiple values through the DSL. All values from the default config and flavors
24 get combined and passed to aapt.
25 resConfig "en"
26 or
27 resConfig "nodpi","hdpi"
28
Xavier Ducrohet301ed872013-11-14 11:23:45 -080029- Jar files are now pre-dexed for faster dexing.
30- First pass at NDK integration
Xavier Ducrohet6dde98d2013-11-22 13:38:51 -080031- API to add new generated source folders:
Xavier Ducrohetb002f4a2013-11-25 14:08:44 -080032 variant.addJavaSourceFoldersToModel(sourceFolder1, sourceFolders2,...)
33 This adds the source folder to the model (for IDE support).
34 Another API:
35 variant.registerJavaGeneratingTask(task, sourceFolder1, sourceFolders2,...)
Xavier Ducrohet6dde98d2013-11-22 13:38:51 -080036 This automatically adds the dependency on the task, sets up the JavaCompile task inputs and propagates
37 the folders to the model for IDE integration.
Xavier Ducrohet2cae6222013-11-25 15:35:44 -080038- API to add extra artifacts on variants. This will allow to register Java or Android artifacts, for instance
39 for alternative test artifacts.
Xavier Ducrohet301ed872013-11-14 11:23:45 -080040
Alex Ruizf5ea6ae2013-11-08 15:48:23 -0800410.6.3
42- Fixed ClassNotFoundException:MergingException introduced in 0.6.2
43
Alex Ruizc5a3c3b2013-10-10 12:03:38 -0700440.6.2
45- Lint now picks up the SDK home from sdk.dir in local.properties
46- Error message shown when using an unsupported version of Gradle now explains how to update the Gradle wrapper
47- Merged resource files no longer place their source markers into the R file as comments
48- Project path can contain '--' (two dashes)
49- Internal changes to improve integration with Android Studio
50
Alex Ruiz83698532013-10-01 13:53:43 -0700510.6.1
52
53- Fixed issues with lint task found in 0.6.0
54
Alex Ruiz96b7bf32013-09-26 12:12:46 -0700550.6.0
56
57- Enabled support for Gradle 1.8
58- Gradle 1.8 is now the minimum supported version
59- Default encoding for compiling Java code is UTF-8
60- Users can now specify the encoding to use to compile Java code
61- Fixed Gradle 1.8-specific bugs
62 - Importing projects with missing dependencies was broken
63 - Compiling projects with AIDL files was broken
64
Xavier Ducrohet90c825f2013-09-13 11:12:32 -0700650.5.7
66
67- Proguard support for libraries.
68 Note the current DSL property 'proguardFiles' for library now sets the proguard rule file used when proguarding the library code.
69 The new property 'consumerProguardFiles' is used to package a rule file inside an aar.
70- Improved IDE support, including loading project with broken dependencies and anchor task to generate Java code
71- New hook tasks: preBuild and prebuild<VariantName>
72- First lint integration. This is a work in progress and therefore the lint task is not added to the check task.
73- Enable compatibility with 1.8
74
Xavier Ducrohet66813412013-08-07 11:54:35 -0700750.5.6
76
Alex Ruiz96b7bf32013-09-26 12:12:46 -070077- Enabled support for 1.7
Xavier Ducrohet66813412013-08-07 11:54:35 -070078
Xavier Ducrohet5c3079c2013-08-01 15:32:20 -0700790.5.5
Xavier Ducrohet1fe33e52013-07-30 14:28:48 -070080
Xavier Ducrohet5c3079c2013-08-01 15:32:20 -070081- Fix issue preventing to use Build Tools 18.0.1
Xavier Ducrohet875a8892013-07-30 17:29:25 -070082- access to the variants container don't force creating the task.
83 This means android.[application|Library|Test]Variants will be empty
84 during the evaluation phase. To use it, use .all instead of .each
Xavier Ducrohet1fe33e52013-07-30 14:28:48 -070085- Only package a library's own resources in its aar.
Xavier Ducrohet5c3079c2013-08-01 15:32:20 -070086- Fix incremental issues in the resource merger.
87- Misc bug fixes.
Xavier Ducrohet1fe33e52013-07-30 14:28:48 -070088
Xavier Ducroheted6d4da2013-07-19 17:29:16 -0700890.5.4
90
91- Fixed incremental compilation issue with declare-styleable
92
Xavier Ducrohet8593c202013-07-18 14:11:01 -0700930.5.3
94
Alex Ruiz96b7bf32013-09-26 12:12:46 -070095- Fixed a crashing bug in PrepareDependenciesTask
Xavier Ducrohet8593c202013-07-18 14:11:01 -070096
Xavier Ducrohetf51f75d2013-07-17 17:39:37 -0700970.5.2
98
99- Better error reporting for cmd line tools, especially
100 if run in parallel in spawned threads
Alex Ruiz96b7bf32013-09-26 12:12:46 -0700101- Fixed an issue due to windows path in merged resource files.
Xavier Ducrohetf51f75d2013-07-17 17:39:37 -0700102
Xavier Ducrohetb7f2f942013-07-12 10:51:12 -07001030.5.1
104
Alex Ruiz96b7bf32013-09-26 12:12:46 -0700105- Fixed issue in the dependency checker.
Xavier Ducrohetb7f2f942013-07-12 10:51:12 -0700106
Xavier Ducrohetc7d3bc32013-05-23 17:42:00 -07001070.5.0:
108
Xavier Ducrohet6e6a3bd2013-06-21 15:51:49 -0700109- IDE Model is changed and is not compatible with earlier version! A new IDE
110 will required.
111- Fixed IDE model to contain the output file even if it's customized
112 through the DSL. Also fixed the DSL to get/set the output file on the
113 variant object so that it's not necessary to use variant.packageApplication
114 or variant.zipAlign
115- Fixed dependency resolution so that we resolved the combination of (default config,
116 build types, flavor(s)) together instead of separately.
117- Fixed dependency for tests of library project to properly include all the dependencies
118 of the library itself.
Xavier Ducrohet516de4b2013-06-25 20:04:17 -0700119- Fixed case where two dependencies have the same leaf name.
Xavier Ducrohet157adfd2013-07-11 10:04:17 -0700120- Fixed issue where proguard rules file cannot be applied on flavors.
Xavier Ducrohet6e6a3bd2013-06-21 15:51:49 -0700121
1220.4.3:
123
Alex Ruiz96b7bf32013-09-26 12:12:46 -0700124- Enabled crunching for all png files, not just .9.png
125- Fixed dealing with non resource files in res/ and assets/
126- Fixed crash when doing incremental aidl compilation due to broken method name (ah the joy of Groovy...)
127- Cleaned older R classes when the app package name has changed.
Xavier Ducrohet6e6a3bd2013-06-21 15:51:49 -0700128
Xavier Ducrohet6ed177f2013-05-30 12:49:41 -07001290.4.2
130
131* Fixed incremental support for resource merging.
132* Fixed issue where all pngs would be processed in parallel with no limit
133 on the number of thread used, leading to failure to run aapt.
134* Fixed ignoreAsset support in aaptOptions
135* Added more logging on failure to merge manifests.
136* Added flavor names to the TestServer API.
137
Xavier Ducrohetc7d3bc32013-05-23 17:42:00 -07001380.4.1:
139
140* Renamed 'package' scope to 'apk'
141 - variants are 'debugApk', 'releaseApk', 'flavor1Apk', etc...
142 - Now properly supported at build to allow package-only dependencies.
143* Only Jar dependencies can be package-only. Library projects must be added to the compile scope.
144* Fixed [application|library|test]Variants API (always returned empty on 0.4)
145* Fixed issue in Proguard where it would complain about duplicate Manifests.
146
Xavier Ducrohete4bf0542013-03-14 18:37:18 -07001470.4
148
Xavier Ducrohet8505a872013-05-02 21:32:46 -0700149* System requirements:
150 - Gradle 1.6+
151 - Android Build Tools 16.0.2+
152* Rename deviceCheck into connectedDevice
153* API for 3rd party Device Providers and Test Servers to run and deploy tests. API is @Beta
Xavier Ducrohetd5fd39b2013-03-21 09:27:57 -0700154* Support for ProGuard 4.9
155 - enable with BuildType.runProguard
156 - add proguard config files with BuiltType.proguardFile or ProductFlavor.proguardFile
157 - default proguard files accessible through android.getDefaultProguardFile(name) with name
158 being 'proguard-android.txt' or 'proguard-android-optimize.txt'
Xavier Ducrohet8505a872013-05-02 21:32:46 -0700159* Implements Gradle 1.6 custom model for IDE Tooling support
Xavier Ducrohete4bf0542013-03-14 18:37:18 -0700160* Fixes:
161 - Fix support for subfolders in assets/
162 - Fix cases where Android Libraries have local Jars dependencies
Xavier Ducrohet442aae72013-03-15 18:40:17 -0700163 - Fix renaming of package through DSL to ensure resources are compiled in the new namespace
Xavier Ducrohet164a8f62013-03-26 13:57:30 -0700164 - Fix DSL to add getSourceSets on the "android" extension.
Xavier Ducrohetc7d3bc32013-05-23 17:42:00 -0700165 - DSL to query variants has changed to applicationVariants and libraryVariants (depending on the plugin)
166 Also both plugin have testVariants (tests are not included in the default collection).
Xavier Ducrohete4bf0542013-03-14 18:37:18 -0700167
Xavier Ducrohet997a04c2012-12-11 14:49:10 -08001680.3
169
Xavier Ducrohetcd66cd32013-01-30 13:24:03 -0800170* System requirements:
171 - Gradle 1.3+ (tested on 1.3/1.4)
172 - Android Platform Tools 16.0.2+
173* New Features:
174 - Renderscript support.
175 - Support for multi resource folders. See 'multires' sample.
176 * PNG crunch is now done incrementally and in parallel.
177 - Support for multi asset folders.
178 - Support for asset folders in Library Projects.
Xavier Ducrohetcd66cd32013-01-30 13:24:03 -0800179 - Support for versionName suffix provided by the BuildType.
180 - Testing
Xavier Ducrohet042fd122013-02-18 16:55:29 -0800181 * Default sourceset for tests now src/instrumentTest (instrumentTest<Name> for flavors)
182 * Instrumentation tests now:
183 - started from "deviceCheck" instead of "check"
184 - run on all connected devices in parallel.
185 - break the build if any test fails.
186 - generate an HTML report for each flavor/project, but also aggregated.
Xavier Ducrohetcd66cd32013-01-30 13:24:03 -0800187 * New plugin 'android-reporting' to aggregate android test results across projects. See 'flavorlib' sample.
188 - Improved DSL:
Xavier Ducrohet219f4f72013-02-14 10:59:17 -0800189 * replaced android.target with android.compileSdkVersion to make it less confusing with targetSdkVersion
Xavier Ducrohetcd66cd32013-01-30 13:24:03 -0800190 * signing information now a SigningConfig object reusable across BuildType and ProductFlavor
Xavier Ducrohet219f4f72013-02-14 10:59:17 -0800191 * ability to relocate a full sourceSet. See 'migrated' sample.
Xavier Ducrohet042fd122013-02-18 16:55:29 -0800192 * API to manipulate Build Variants.
Xavier Ducrohetcd66cd32013-01-30 13:24:03 -0800193* Fixes:
194 - Default Java compile target set to 1.6.
195 - Fix generation of R classes in case libraries share same package name as the app project.
Xavier Ducrohet997a04c2012-12-11 14:49:10 -0800196
1970.2
198
199* Fixed support for windows.
200* Added support for customized sourceset. (http://tools.android.com/tech-docs/new-build-system/using-the-new-build-system#TOC-Working-with-and-Customizing-SourceSets)
201* Added support for dependency per configuration.
202* Fixed support for dependency on local jar files.
203* New samples "migrated" and "flavorlib"
204
2050.1: initial release