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
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
Christopher Cartland
5ba2b6b8ff
CI: Integrate workflow_triggers for nowinandroid from cartland's fork ( #1873 )
...
* Update workflow triggers
- Build.yaml: Add workflow_dispatch, specify branches for pull_request.
- NightlyBaselineProfiles.yaml: Add workflow_dispatch and push (main) triggers.
- Release.yml: Add workflow_dispatch trigger.
* Allow build for PR on all branches
* Remove the push trigger for NightlyBaselineProfiles.yaml
9 months ago
Simon Marquis
a61140e7a7
Update GHA JDK to the latest LTS version (21)
9 months ago
Christoffer Adamsen
19e864c7c7
Add -repackageclasses to R8 configuration
10 months ago
Simon Marquis
7ba36d9fad
Replace deprecated `ManagedDevices.devices` and suspicious receiver type
11 months ago
Alex Vanyo
acb58233db
Merge pull request #1850 from ogapants/patch-1
...
Replace org.junit.Assert.assertEquals with kotlin.test.assertEquals for consistency
11 months ago
Alex Vanyo
6943267466
Merge pull request #1855 from SimonMarquis/deprecated-centerAlignedTopAppBarColors
...
Replace deprecated `centerAlignedTopAppBarColors` with `topAppBarColors`
11 months ago
Ben Weiss
b62bd5ab34
Remove death penalty from strict mode violations ( #1857 )
...
The app was still crashing in non-debug after strict mode was enabled. Less restrictive, now only logging violations
Closes #1853
Closes #1809
11 months ago
Simon Marquis
66b80aa9c3
Replace deprecated `centerAlignedTopAppBarColors` with `topAppBarColors`
...
from a recent material3 update: https://developer.android.com/jetpack/androidx/releases/compose-material3#1.4.0-alpha06
11 months ago
Alex Vanyo
bf7f134be2
Merge pull request #1851 from liutikas/benchmark
...
Upgrade to benchmark 1.3.4
11 months ago
Aurimas Liutikas
8e25214f02
Upgrade to benchmark 1.3.4
...
It picks up Gradle Isolated Project fixes
Test: ./gradlew build --dry-run -Dorg.gradle.unsafe.isolated-projects=true
fewer warnings after the PR
11 months ago
ogapants
2ecdbd7276
Replace org.junit.Assert.assertEquals with kotlin.test.assertEquals for consistency
12 months ago
Alex Vanyo
9e90920b7e
Merge pull request #1846 from liutikas/dagger
...
Upgrade to the newest version of dagger/hilt
12 months ago