Skip to content

Commit ada539b

Browse files
committed
chore(build): Update build configuration to resolve configuration caching issues
1 parent 8633e5d commit ada539b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build-desktop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Build MacOS DMG (Apple Silicon)
3333
# 执行 Compose Desktop 的打包任务
34-
run: ./gradlew :composeApp:packageReleaseDmg
34+
run: ./gradlew :composeApp:packageReleaseDmg --no-configuration-cache
3535
env:
3636
REPORT_API_SECRET: ${{ secrets.REPORT_API_SECRET }}
3737
REPORT_URL: ${{ secrets.REPORT_URL }}
@@ -137,7 +137,7 @@ jobs:
137137
uses: gradle/actions/setup-gradle@v3
138138

139139
- name: Create Release Distributable
140-
run: ./gradlew :composeApp:createReleaseDistributable
140+
run: ./gradlew :composeApp:createReleaseDistributable --no-configuration-cache
141141
env:
142142
REPORT_API_SECRET: ${{ secrets.REPORT_API_SECRET }}
143143
REPORT_URL: ${{ secrets.REPORT_URL }}

settings.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
44
pluginManagement {
55
repositories {
66
mavenLocal()
7-
maven("https://jitpack.io")
87
google {
98
mavenContent {
109
includeGroupAndSubgroups("androidx")
@@ -14,22 +13,23 @@ pluginManagement {
1413
}
1514
mavenCentral()
1615
gradlePluginPortal()
16+
maven("https://jitpack.io")
1717
}
1818
}
1919

2020
dependencyResolutionManagement {
2121
repositories {
2222
mavenLocal()
23-
maven("https://jitpack.io")
2423
google {
2524
mavenContent {
2625
includeGroupAndSubgroups("androidx")
2726
includeGroupAndSubgroups("com.android")
2827
includeGroupAndSubgroups("com.google")
2928
}
3029
}
31-
maven("https://artifacts.alfresco.com/nexus/content/repositories/public/")
3230
mavenCentral()
31+
maven("https://jitpack.io")
32+
maven("https://artifacts.alfresco.com/nexus/content/repositories/public/")
3333
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
3434
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
3535
maven("https://jogamp.org/deployment/maven/")

0 commit comments

Comments
 (0)