Simon Marquis
d56e06e676
Merge Android & JVM plugins into a single `HiltConventionPlugin`
6 months ago
Simon Marquis
3dbca86a37
Merge remote-tracking branch 'origin/main' into jvm-alt
6 months ago
Simon Marquis
85129e4660
Kotlin 2.0.0 ( #1036 )
...
* 🚧 Kotlin 2.0.0-Beta4
* Testing useKSP2 useK2Uast
* KSP 2.0.0-Beta4-1.0.19
* Update lint 8.4.0-alpha13
* 2.0.0-Beta5
* Lint 8.5.0-alpha02
* Update libs.versions.toml
* Update libs.versions.toml
* 🤖 Updates baselines for Dependency Guard
* KSP `2.0.0-Beta5-1.0.20`
* 2.0.0-RC1
* lint 8.5.0-alpha06
* Kotlin 2.0.0-RC2
* Lint 8.5.0-alpha07
* Fix missing imports
* Migrate from deprecated `kotlinOptions` to `composeCompiler`
* Kotlin 2.0.0-RC3 and AGP 8.6.0-alpha01
* Kotlin 2.0.0 & KSP 2.0.0-1.0.21
* Add `.kotlin` directory to `.gitignore`
* Migrate from deprecated kotlinOptions to compilerOptions
* Restore main workflow
* Migrate from deprecated kotlinOptions to compilerOptions
* Restore relative directories for Compose compiler metrics & reports
---------
Co-authored-by: Don Turner <dturner@users.noreply.github.com>
7 months ago
Simon Marquis
4f8f08380f
Prep work for JVM alternatives to modules/plugins
1 year ago
Simon Marquis
34d8262e00
Merge branch 'main' into room-gradle-plugin
1 year ago
Simon Marquis
5f7d4ea1d5
Replace custom `RoomSchemaArgProvider` in favor of the new Room Gradle plugin
...
> Since Room 2.6.0, a Gradle plugin was released to solve various existing issues in Room regarding having inputs and outputs of schemas via Gradle annotation processor options.
> Changelog: https://developer.android.com/jetpack/androidx/releases/room#2.6.0-alpha02
See https://github.com/gradle/android-cache-fix-gradle-plugin/issues/544 for reference.
1 year ago
Alex Vanyo
5df9cce37c
Add truth for better badging diff output
...
Change-Id: Id3fab0107bc08adf44ddf07a30e0327e06897d47
1 year ago
Alex Vanyo
46b0a81080
Use normal propery setting
...
Change-Id: I31aef2007b63c067ad80a9f65f2b9594d114f13a
1 year ago
Alex Vanyo
8a992996a4
Enable stricter validation for build-logic convention plugins
...
Change-Id: I1955393c76e91bebfe4b7e349734c81a10263c8c
1 year ago
Alex Vanyo
c730cf20fa
Use SdkConstants for getting aapt2 executable location
...
Change-Id: Ibc9ece0c3ade51a29954caee3af3a669ed99c384
1 year ago
Simon Marquis
8ea9a8fa51
Android Lint improvements
...
- Create `LintConventionPlugin` to configure Lint on all compatible modules: Android applications, Android libraries and JVM modules.
- Run `lintProdRelease` in CI instead of the default `lintDemoDebug` which is less important compared to production code.
- Rearrange CI steps to make it more clear that Lint should is an additional step after build (build -> test -> lint).
- Enable SARIF support and upload results to GitHub's CodeQL to get inline feedback on PRs.
If we really need better perfs, we could restore `lint.checkDependencies = true` on the `:app` module and only execute `:app:lintProdRelease`.
But in practice, this does not change the total build time on this project.
2 years ago
Neelansh Sahai
02bf1ac230
Merge pull request #725 from tsumuchan/main
...
Clarify dependencies of the included build-logic
2 years ago
Alex Vanyo
76b0b08121
Adjust JDK setup to remove toolchain
...
Change-Id: Ie0f43cb8f0fe504ed3e98ef35703949959688699
2 years ago
tsumuchan
e1025d8363
Update gradle plugin naming
2 years ago
Takeshi Hagikura
e1bb03b33d
Set the source/target compatibility to 11
...
This is because up to Java 11 features are supported without requiring
minimum API level nor AGP versions at the moment as in
https://developer.android.com/studio/write/java11-minimal-support-table
2 years ago
Alex Vanyo
38260e5a86
Update to VERSION_17 everywhere
...
Change-Id: I3e75e8a833f45365657a24c4af652c2449af804c
2 years ago
Alex Vanyo
086dc957c0
Update to AGP 8.0
...
Change-Id: I27eb106e484e2003d732782a39612dc72c845282
2 years ago
Simon Marquis
8ec54d19d8
Sort and group Gradle dependencies thanks to square/gradle-dependencies-sorter
2 years ago
Don Turner
4284e6912e
Merge remote-tracking branch 'github/main' into feb9automerger
...
* github/main:
Bump version to 4
Remove unused DropdownMenu component
Route topic chip tap events up to NiaNavHost
Apply suggestions from code review
Migrate custom room configuration into a convention plugin
Update docs/ArchitectureLearningJourney.md - User action follow topic
Update docs/ArchitectureLearningJourney.md - Writing data
Change-Id: I417abcaba792bbf297a8156bb1c4cf677dcb8bea
2 years ago
Don Turner
2a4d0434a5
Add Firebase analytics. See go/nia-firebase-services.
...
Change-Id: I0cbbda0bba761d8019241f6165db231fe94fb689
2 years ago
Simon Marquis
3409f937ed
Migrate custom room configuration into a convention plugin
...
And use `CommandLineArgumentProvider` to avoid breaking cacheability: https://issuetracker.google.com/issues/132245929
2 years ago
Automerger
beccdfe8f5
Merge branch 'github/main'
2 years ago
Alex Vanyo
1cce9aaae2
Update AGP to 7.4.0
...
Change-Id: I3bede0226f89e78c65b74968effc738796e10218
2 years ago
Ben Weiss
f316be1d69
Add Firebase dependencies
...
This sets up the project for using Firebase Crashlytics and
Performance Monitoring.
Change-Id: I8d14cfd2e5c2ba1911f2c3175adc20d6714addb6
2 years ago
Wojtek Kaliciński
4683918cc7
Move spotless to init script
...
Also adds automatic git hooks installation
Change-Id: I18debbee43af27db7b95a4202f824fa87e186713
2 years ago
Wojtek Kaliciński
d0cff2b11c
Build cleanup
...
* Move Hilt setup to convention plugin
* Disable Hilt on modules where it's not needed
* Enable non-transitive R classes
* Fix `configuration` blocks called in wrong scope
* Move imperative Flavors code from build.gradle
* Disable unnecessary build features globally
* Disable configure-on-demand as it's not encouraged
* Don't use internal AGP packages in plugins
Change-Id: I1bee3e3fd0103054637b979a350f9fd2312ae8ba
2 years ago
Wojtek Kaliciński
aa5d254435
Use [plugins] block in version catalog
...
Change-Id: Ib2aa30405dfe8e5f5017f2f1b45e972d8e19ddca
2 years ago
Ben Weiss
9f929944d0
Address review comments
...
* Introduce gradle plugin for firebase perf
* Create TrackScrollJank composable to mask tracking code
2 years ago
satyan
555c4b4855
Replace gradle script with explicit convention plugins
3 years ago
Alex Vanyo
ca73f5598f
Setup convention plugins base
...
Change-Id: I66ea3a5c95ca9d87a1f0da39b6ba72faffc320ed
3 years ago