Skip to content

Commit f6ed5c1

Browse files
committed
Add GitHub Actions workflow for dependency submission
- Add GitHub Actions workflow for dependency submission - Enable ignoring disabled targets in Kotlin Native builds.
1 parent dabb6ea commit f6ed5c1

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Dependency Submission
2+
3+
on:
4+
push:
5+
branches: [ 'main', 'kpavlov/dependency-submission' ]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
dependency-submission:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout sources
15+
uses: actions/checkout@v5
16+
- name: Setup Java
17+
uses: actions/setup-java@v5
18+
with:
19+
distribution: 'temurin'
20+
java-version: 21
21+
cache: 'gradle'
22+
- name: Generate and submit dependency graph
23+
uses: gradle/actions/dependency-submission@v4

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#Kotlin
22
kotlin.code.style=official
33
kotlin.daemon.jvmargs=-Xmx4096M
4+
kotlin.native.ignoreDisabledTargets=true
45

56
#Gradle
67
org.gradle.jvmargs=-Xmx4096M -Dfile.encoding=UTF-8

0 commit comments

Comments
 (0)