Simon Marquis
c5c01f7ebd
Document `graphUpdate` task
6 months ago
Simon Marquis
ff9bc121e7
Replace old diagram with new mermaid graph in ModularizationLearningJourney
6 months ago
Simon Marquis
e3a7637a23
Update color mapping
...
| Type | Plugin ID | Color |
|-------------|------------------------------------|------------------------|
| Application | `nowinandroid.android.application` | `#CAFFBF` PastelGreen |
| Feature | `nowinandroid.android.feature` | `#FFD6A5` PastelOrange |
| Library | `nowinandroid.android.library` | `#9BF6FF` PastelBlue |
| Test | `nowinandroid.android.test` | `#A0C4FF` PastelMauve |
| JVM | `nowinandroid.jvm.library` | `#BDB2FF` PastelPurple |
| Unknown | `?` | `#FFADAD` PastelRed |
6 months ago
Simon Marquis
36bc43b84b
Merge remote-tracking branch 'fork/main' into graphs
6 months ago
Etienne Dechamps (Google)
8310ee081c
Upgrade moduleGraph to 2.9.0 ( #1951 )
...
This is necessary for the app to build with Gradle 9.0.0, otherwise the
following Gradle error occurs:
java.lang.NoSuchMethodError: 'org.gradle.api.Project org.gradle.api.artifacts.ProjectDependency.getDependencyProject()'
at com.jraska.module.graph.assertion.GradleDependencyGraphFactory.listAllDependencies(GradleDependencyGraphFactory.kt:39)
This is due to jraska/modules-graph-assert#305 .
6 months ago
Simon Marquis
3b90ad047c
Detect changes when rendering graphs and auto-commit
6 months ago
Simon Marquis
17629ce4a4
Create `RootPlugin` to `configureGraphTasks()` on `subprojects`
6 months ago
Simon Marquis
a74280f61a
Merge remote-tracking branch 'origin/main' into graphs
6 months ago
Don Turner
88c4dae77e
Merge pull request #1955 from liutikas/osslicenses
...
Clean up loading of oss-licenses-plugin
6 months ago
Don Turner
c0d20e88ae
Merge pull request #1952 from keelim/feature/agents
...
Migrate existing docs to AGENTS.md
6 months ago
Aurimas Liutikas
befde850b2
Clean up loading of oss-licenses-plugin
...
- Move to using plugins {} block for applying com.google.android.gms.oss-licenses-plugin
as this plugin now publishes plugin markers
- Upgrade oss-licenses-plugin to 0.10.8
- Remove unused secrets plugin
Test: ./gradlew build -m
6 months ago
Don Turner
f19f1c1765
Merge pull request #1947 from Jaehwa-Noh/gradle-to-gradle-api
...
Replace gradle to gradle-api.
6 months ago
Aurimas
685bdb1272
Merge pull request #1950 from liutikas/agpupgrade
...
Upgrade to latest stable AGP 8.12.2
6 months ago
Don Turner
6d090a36a2
Merge pull request #1861 from SimonMarquis/patch-4
...
Replace deprecated `ManagedDevices.devices` and suspicious receiver type
6 months ago
Simon Marquis
03b4b89477
graphUpdate
6 months ago
Simon Marquis
b3025c72d6
Delete old graphs
6 months ago
Simon Marquis
00f98a52d7
Remove `com.jraska.module.graph.assertion` plugin
6 months ago
Simon Marquis
ecf465bdbb
Generate Mermaid graphs
6 months ago
Keel_im
b44e7f0cbf
migrate existing docs to AGENTS.md
...
create symbolic links for backward compatibility
6 months ago
Aurimas Liutikas
15d17f447a
Upgrade to latest stable AGP 8.12.2
...
- Upgrades to a newer version of compose bom that pulls in newer
versions of lint checks that work with AGP 8.12.2
- Bump the minSdk to 23 because compose now requires minSdk 23
- Update Navigation_fontScale2.png due to compose upgrade
- Clean up BuildConfig set up since we already use Gradle 9.0.0
Test: ./gradlew build
6 months ago
Jaehwa Noh
c957bbbbef
Replace gradle to gradle-api.
...
Should use `gradle-api`.
https://developer.android.com/build/releases/gradle-plugin-roadmap#agp-10
Change-Id: If1c4869eb57ef3d3e1834c57768b90e5d6967f10
7 months ago
Don Turner
b86fbcb8ac
Merge pull request #1930 from liutikas/gradle9.0.0
...
Upgradle to 9.0.0
7 months ago
Don Turner
0b02cf13ce
Merge pull request #1929 from liutikas/firebase-gradle-plugin-upgrade
...
Upgrade Firebase Crashlytics and Perf plugins
7 months ago
Aurimas Liutikas
eafd0fc9cb
Fixes host test tasks that were accidentally attemping to run
...
Gradle 9.0.0 has the new enforcement that Test task runs that
have sources but no tests run should fail. Without this change we get
Execution failed for task ':core:analytics:testDemoDebugUnitTest'.
> There are test sources present and no filters are applied, but the test task did not discover any tests to execute. This is likely due to a misconfiguration. Please check your test configuration. If this is not a misconfiguration, this error can be disabled by setting the 'failOnNoDiscoveredTests' property to false.
We get this because before this change AndroidCompose was always setting
isIncludeAndroidResources = true which generates a source to the test
task and in the case of :core:analytics it is the only source.
Instead of setting isIncludeAndroidResources in AndroidCompose move to
setting it in relevant build.gradle.kts files (most already had it)
7 months ago
Aurimas Liutikas
13e8bba8d6
Upgradle to 9.0.0
...
It also bumps the version of oss-licenses-plugin to pick up a fix for
https://github.com/google/play-services-plugins/issues/309
Test: ./gradlew build
7 months ago
Aurimas Liutikas
570c685d4c
Upgrade Firebase Crashlytics and Perf plugins
...
This fixes the Project Isolation issues in these plugins
https://github.com/firebase/firebase-android-sdk/issues/6748
Test: ./gradlew build --dry-run -Dorg.gradle.unsafe.isolated-projects=true
-> fewer issues
7 months ago
Don Turner
27544539ee
Merge pull request #1920 from SimonMarquis/patch-5
...
Improve AGENT.md
7 months ago
Simon Marquis
120ce5e298
Improve AGENT.md
7 months ago
Don Turner
693bade173
Merge pull request #1918 from android/ja/agentsmd
...
Adds AGENT.md file
7 months ago
Don Turner
ef8a3a3e49
Merge pull request #1811 from cdsap/main
...
Publishing GHA builds to scans.gradle.com
7 months ago
Jose Alcérreca
39bde81645
Adds AGENT.md file
...
Change-Id: I48a83b0c2557a977e08f299a752564514a8b5f8e
7 months ago
Don Turner
18f9f52516
Merge pull request #1913 from liutikas/removesecretsplugin
...
Move to a custom setup for BuildConfig.BACKEND_URL
7 months ago
Aurimas Liutikas
f9a8abfc2c
Add a comment for simplification
7 months ago
Don Turner
108c72569f
Merge pull request #1914 from SimonMarquis/fix-lint-sarif
...
Fix issue with `github/codeql-action/upload-sarif@v3`
7 months ago
Yacine Rezgui
202875c59b
Merge pull request #1907 from android/sample-owners
...
Create CODEOWNERS
7 months ago
Yacine Rezgui
c59fff2314
Update CODEOWNERS
7 months ago
Simon Marquis
79a8d4c0d1
Fix issue with `github/codeql-action/upload-sarif@v3`
...
where multiple runs of the same tool (e.g. through mutliple files) is now considered an error.
https://github.blog/changelog/2025-07-21-code-scanning-will-stop-combining-multiple-sarif-runs-uploaded-in-the-same-sarif-file/
8 months ago
Aurimas Liutikas
1df214e341
Move to a custom setup for BuildConfig.BACKEND_URL
...
secrets gradle plugin is not Gradle project isolation compatible and is
using deprecated AGP variant API. This change removes the usage by using
a custom provider to set this value.
Inspiration https://github.com/android/gradle-recipes/blob/agp-8.10/addCustomBuildConfigFields/build-logic/plugins/src/main/kotlin/CustomPlugin.kt
https://github.com/android/nowinandroid/issues/1842
Test: ./gradlew core:network:assemble -> BuildConfig.java has correct
value
8 months ago
Don Turner
872816c06f
Merge pull request #1911 from liutikas/roomupgrade27
...
Upgrade to Room 2.7.2
8 months ago
Aurimas Liutikas
d96c5bc4fa
Upgrade to Room 2.7.2
...
This fixes room Gradle project isolation issues
https://github.com/android/nowinandroid/issues/1842
Test: ./gradlew build --dry-run -Dorg.gradle.unsafe.isolated-projects=true
fewer issues
8 months ago
Yacine Rezgui
607d02f9aa
Add CODEOWNERS
8 months ago
Don Turner
b7ce93c693
Merge pull request #1905 from android/dt/fix-tests
...
Update test library versions to fix NoClassDefFoundError when running `BookmarksScreenTest` and probably others
8 months ago
Don Turner
9d69b0d2d3
Update test versions to fix Failed resolution of: Landroidx/test/internal/platform/app/ActivityInvokerhimBHTCC;
8 months ago
Don Turner
967e49f15a
Merge pull request #1878 from christofferqa/repackageclasses
...
Add -repackageclasses to R8 configuration
8 months ago
Don Turner
d80715cb3a
Merge pull request #1886 from Jaehwa-Noh/fix-snack-bar-with-keyboard
...
Exclude the ime window inset at the snack bar.
8 months ago
Don Turner
ed2700de76
Merge pull request #1894 from hoangchungk53qx1/main
...
Refactor: Replace list initialization with emptyList() for clarity
8 months ago
Don Turner
7f05afed2a
Merge pull request #1882 from SimonMarquis/patch-5
...
Update GHA JDK to the latest LTS version (21)
8 months ago
hoangchungk53qx1
e00f9f7706
Refactor: Replace list initialization with emptyList() for clarity
8 months ago
Jaehwa Noh
ee3e519140
Fix spotless.
...
Change-Id: I741418a1e44fd9e3488513bdb33995490738679d
9 months ago
Jaehwa Noh
3af1cba336
Exclude the ime window inset at the snack bar.
...
Change-Id: I14a43609090176604e42caf2862bcb4ba291fe89
9 months ago