Skip to content

Commit 1f4d222

Browse files
committed
build: disable unsafe cache
1 parent 21eb6fc commit 1f4d222

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,5 @@ jobs:
3535
- name: Build with Gradle
3636
uses: gradle/gradle-build-action@main
3737
with:
38-
arguments: build
38+
arguments: build publishAllPublicationsToSonatypeRepository closeAndReleaseRepository --scan
3939

40-
- name: Upload to Sonatype
41-
uses: gradle/gradle-build-action@main
42-
with:
43-
arguments: publishAllPublicationsToSonatypeRepository
44-
45-
- name: Promote to Maven Central
46-
uses: gradle/gradle-build-action@main
47-
with:
48-
arguments: closeAndReleaseRepository

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ project.gradle.taskGraph.whenReady {
173173
android {
174174
compileSdk = 33
175175
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
176+
namespace = "dev.zxilly.notify.sdk"
176177
defaultConfig {
177178
minSdk = 24
178179
targetSdk = 33
@@ -238,6 +239,8 @@ nexusStaging {
238239
serverUrl = "https://s01.oss.sonatype.org/service/local/"
239240
username = mavenUser
240241
password = mavenPassword
242+
packageGroup = "dev.zxilly"
243+
stagingProfileId = "95214448af0738"
241244
}
242245

243246
publishing {

gradle.properties

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ android.useAndroidX=true
22

33
org.gradle.warning.mode=none
44

5-
kotlin.version=1.7.10
5+
kotlin.version=1.7.20
66
kotlin.stdlib.default.dependency=true
77

88
kotlin.code.style=official
@@ -14,7 +14,4 @@ kotlin.native.ignoreDisabledTargets=true
1414
kotlin.native.binary.memoryModel=experimental
1515

1616
org.gradle.daemon=false
17-
org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=512m
18-
19-
org.gradle.unsafe.configuration-cache=true
20-
org.gradle.unsafe.configuration-cache-problems=warn
17+
org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=512m

0 commit comments

Comments
 (0)