-
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 1.11 KB
/
dependencies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Submit dependencies
name: Dependencies
on:
push:
branches:
- main
permissions:
contents: write
jobs:
dependencies:
name: Submit dependencies
runs-on: ubuntu-latest
steps:
# ================================
# SHALLOW CLONE
# ================================
- name: Shallow clone
uses: actions/checkout@v4
# ================================
# SET UP JDK
# ================================
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-package: jdk
java-version: 21
# ================================
# SUBMIT DEPENDENCIES
# ================================
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3
env:
# Exclude all dependencies that originate solely in the 'api-compatibility' project
DEPENDENCY_GRAPH_EXCLUDE_PROJECTS: ':api-compatibility'
# Exclude dependencies that are only resolved in test classpaths
DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS: '.*[Tt]est(Compile|Runtime)Classpath'