Commit graph

31 commits

Author SHA1 Message Date
mcarare
063c553913 Bug 1849833 - Replace deprecated compileSdkVersion.
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
MatthewTighe
c87183c8b5 Bug 1843168 - Expose Mockito through test support component 2023-07-24 18:02:09 +00:00
Arturo Mejia
b5969d7a88 Bug 1796305 - Remove disable UnusedResource lint
We can now remove the UnusedResource lint rule because lint will now pass as expected since the resources are found in the monorepo, which failed prior because the resources were used in different repos.
2023-04-24 22:33:28 +00:00
Ryan VanderMeulen
0e5e70291c Bug 1820233 - Remove unneeded kotlin_stdlib inclusions and re-enable Werror in detekt build.gradle 2023-03-07 00:12:18 +00:00
mcarare
1f589a2e0b Bug 1802817 - Set namespace via DSL in gradle build files.
See https://developer.android.com/studio/build/configure-app-module#set-namespace
and https://issuetracker.google.com/issues/172361895
2023-03-02 17:13:09 +00:00
mcarare
cd1b348c9b Bug 1802817 - Rename DSL object from lintOptions to lint.
DSL object for configuring lint options lintOptions is deprecated.
2023-03-02 17:13:09 +00:00
mcarare
922b5f6643 Bug 1802817 - Rename AC Dependencies to ComponentsDependencies.
This change is needed in order to avoid clashes with Dependencies class introduced
in Gradle from 7.6 version.
2023-03-02 17:13:09 +00:00
Christian Sadilek
4091b14a33 Fix android lint in composite builds 2022-11-21 13:40:53 -05:00
Sawyer Blatz
f0f6d47247 [components] For https://github.com/mozilla-mobile/android-components/issues/2689: Refactors Error Pages to allow images
Co-authored-by: James Willcox <snorp@snorp.net>
Co-authored-by: Agi Sferro <agi@sferro.dev>
2020-01-21 11:18:14 -08:00
Manuel Martin
97740643ce [components] L10n fixes 2020-01-20 14:38:35 +01:00
Denys M
1f8fc3fa5b [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Enable unit test binary resources globally.
Excluded few modules.
2019-06-13 09:29:52 +02:00
Denys M
3c52b7076f [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Use androidx runner in browser-errorpages. 2019-06-11 12:38:12 +02:00
Sebastian Kaspari
5c54ec453d [components] Closes https://github.com/mozilla-mobile/android-components/issues/842: Migrate from support libraries to AndroidX. 2019-05-02 16:08:55 +02:00
Mitchell Hentges
8fd19cdf3a [components] Moves description to be part of project.ext 2019-01-11 10:08:32 +01:00
Mitchell Hentges
3ee4d96a84 [components] Reads componentsVersion from .buildconfig.yml 2019-01-11 10:08:32 +01:00
ali-abdullah
89f3263d12 [components] included buildSrc in ktlint and detekt checks 2018-11-16 12:40:04 +01:00
Sebastian Kaspari
9e17b84339 [components] Simplify build configuration. 2018-10-24 10:21:12 +02:00
Johan Lorenzo
0ca864a1bf [components] Stop Bintray. Update {group,artifact}Ids. Remove massage task 2018-10-22 14:35:51 +02:00
Jonathan Almeida
b3dc0d1980 [components] Closes https://github.com/mozilla-mobile/android-components/issues/881: Error Page support for both engines
I decided to move the mappings to the respective EngineSession instead
of having them in the Engine, since it wasn't possible to have them
easily accessible from there via the RequestInterceptor. It made more
sense to keep them hidden inside the session as a companion function for
easier testing.

On the same note, tests have also been included.

Added an interceptor the SystemEngine sample app.

Cleaned up the styling of the actual error page HTML to make them more
mobile friendly.
2018-10-05 16:27:28 +02:00
Sebastian Kaspari
946410ca86 [components] Configure dependencies from buildSrc Kotlin code. 2018-08-21 11:16:21 -04:00
Angelo Rüggeberg
4e497962b0 [components] Closes https://github.com/mozilla-mobile/android-components/issues/291 - Unified lint warnings as error and fail on error 2018-07-03 14:29:55 -04:00
Sebastian Kaspari
753376a11c [components] Issue https://github.com/mozilla-mobile/android-components/issues/37: Gradle: Centralize depedency version configuration and use "implementation" instead of "compileOnly". 2018-03-29 10:06:41 +02:00
Sebastian Kaspari
af3559a862 [components] Issue https://github.com/mozilla-mobile/android-components/issues/25: Set archivesBaseName for modules explicitly. 2018-03-27 09:53:30 +02:00
Sebastian Kaspari
c060694778 [components] Issue https://github.com/mozilla-mobile/android-components/issues/12: Create centralized configuration for uploading libraries to jcenter. 2018-03-23 22:38:07 +01:00
Sebastian Kaspari
f36856de9b [components] Issue https://github.com/mozilla-mobile/android-components/issues/12: Fix issues uncovered by lint and suppress false positives. 2018-03-22 18:21:33 +01:00
Sebastian Kaspari
0c10a224fc [components] Issue https://github.com/mozilla-mobile/android-components/issues/12: Centralize configuration of minSdkVersion and targetSdkVersion. 2018-03-22 18:21:33 +01:00
Sebastian Kaspari
20efea9e92 [components] Issue https://github.com/mozilla-mobile/android-components/issues/12: Abort build on lint errors and warnings. 2018-03-22 18:21:33 +01:00
Sebastian Kaspari
77183df0ef [components] Issue https://github.com/mozilla-mobile/android-components/issues/12: Remove/update outdated gradle configurations. 2018-03-22 10:23:23 +01:00
Sebastian Kaspari
88c1189fcc [components] Issue https://github.com/mozilla-mobile/android-components/issues/12: Use kotlin version constant in all build files. 2018-03-21 22:18:40 +01:00
Sebastian Kaspari
e05b9ed2d1 [components] Centralize compileSdkVersion configuration. 2018-03-21 19:12:11 +01:00
Sebastian Kaspari
384e1e885c [components] Import components into unified repository. 2018-03-21 17:09:04 +01:00