Skip to content

Commit 8c8545b

Browse files
authored
Merge branch 'main' into claude/persistent-ad-settings-compartments
2 parents c607666 + 2cfcbef commit 8c8545b

3 files changed

Lines changed: 47 additions & 5 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Dependency Graph
2+
3+
# Submit ONLY the app's shipped (release runtime) dependencies to GitHub's dependency graph, so
4+
# Dependabot scans what actually ends up in the APK/AAB. Gradle's automatic dependency submission
5+
# resolves *every* classpath — including the build-tooling / plugin classpath — which drags in
6+
# transitive libraries (e.g. Netty via the Android Gradle Plugin) that are never shipped and only
7+
# create false-positive alerts. Scoping to `releaseRuntimeClasspath` excludes those.
8+
#
9+
# IMPORTANT: turn OFF the repository's "Automatic dependency submission" setting
10+
# (Settings -> Code security -> Dependency graph) so this scoped submission is the only one;
11+
# otherwise the automatic one keeps re-adding the build-tooling dependencies.
12+
on:
13+
push:
14+
branches: [ "main" ]
15+
workflow_dispatch:
16+
17+
permissions:
18+
contents: write
19+
20+
concurrency:
21+
group: dependency-graph-${{ github.ref }}
22+
cancel-in-progress: true
23+
24+
jobs:
25+
dependency-submission:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Set up JDK 21
32+
uses: actions/setup-java@v4
33+
with:
34+
java-version: '21'
35+
distribution: 'temurin'
36+
37+
- name: Submit dependency graph
38+
uses: gradle/actions/dependency-submission@v4
39+
env:
40+
# Report only the shipped release runtime classpaths; skip buildscript / plugin classpaths
41+
# (named "classpath") so build-time-only transitives aren't flagged by Dependabot.
42+
DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS: "^releaseRuntimeClasspath$"

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ configurations.all {
205205
// Netty artifacts are versioned together; force the whole family (except the
206206
// separately-versioned tcnative natives) to the latest 4.1 security release.
207207
g == "io.netty" && !n.startsWith("netty-tcnative") -> {
208-
useVersion("4.1.133.Final")
209-
because("Security fixes: CVE-2025-67735, CVE-2026-42583, CVE-2026-42587, et al.")
208+
useVersion("4.1.121.Final")
209+
because("Build-tooling transitive only (never shipped); pin Netty to the latest 4.1.x security release")
210210
}
211211
g == "org.bouncycastle" && n.endsWith("-jdk18on") -> {
212212
useVersion("1.84")

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ buildscript {
1515
because("Security fixes: CVE-2023-2976 & CVE-2020-8908 (insecure temp-dir use / info disclosure)")
1616
}
1717
g == "io.netty" && !n.startsWith("netty-tcnative") -> {
18-
useVersion("4.1.133.Final")
19-
because("Security fixes: CVE-2025-67735, CVE-2026-42583, CVE-2026-42587, et al.")
18+
useVersion("4.1.121.Final")
19+
because("Build-tooling transitive only (never shipped); pin Netty to the latest 4.1.x security release")
2020
}
2121
g == "org.bouncycastle" && n.endsWith("-jdk18on") -> {
2222
useVersion("1.84")
@@ -74,7 +74,7 @@ subprojects {
7474
useVersion("3.25.5"); because("Security fix")
7575
}
7676
g == "io.netty" && !n.startsWith("netty-tcnative") -> {
77-
useVersion("4.1.133.Final"); because("Security fixes")
77+
useVersion("4.1.121.Final"); because("Latest 4.1.x security release")
7878
}
7979
g == "org.bouncycastle" && n.endsWith("-jdk18on") -> {
8080
useVersion("1.84"); because("Security fixes")

0 commit comments

Comments
 (0)