generated from creek-service/multi-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1.14 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
name: Dependencies
on:
push:
branches: [ main ]
tags: [ "v*.*.*" ]
schedule:
- cron: "39 5 1,15 * *"
pull_request:
branches: [ main ]
permissions: read-all
jobs:
submit-dependencies:
permissions:
contents: write # required to submit dependencies report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: gradle/wrapper-validation-action@699bb18358f12c5b78b37bb0111d3a0e2276e0e2 # v2.1.1
- name: Set up JDK
uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4.1.0
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/gradle-build-action@29c0906b64b8fc82467890bfb7a0a7ef34bda89e # v3.1.0
with:
dependency-graph: generate-and-submit
gradle-home-cache-cleanup: true
- name: Generate dependency report
env:
DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS: runtimeClasspath
DEPENDENCY_GRAPH_INCLUDE_PROJECTS: "^:(?!(buildSrc|test-)).*"
run: ./gradlew allDeps --configuration runtimeClasspath