Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 183be4c

Browse files
committed
Fix compatibility with jitpack
1 parent 364b6a8 commit 183be4c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: grant execute permission for gradlew
5050
run: chmod +x gradlew
5151
- name: build
52-
run: ./gradlew -p ./yanndroid/samsung clean uploadArchives
52+
run: ./gradlew -p ./yanndroid/samsung clean build
5353
- name: publish
5454
run: ./gradlew -p ./yanndroid/samsung publish
5555
env:

yanndroid/samsung/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,20 @@ publishing {
2020
groupId = 'de.dlyt.yanndroid'
2121
artifactId = 'samsung'
2222
version = latest
23-
artifact("$rootDir/releases/de/dlyt/yanndroid/samsung/${latest}/samsung-${latest}.aar")
23+
/*artifact("$rootDir/releases/de/dlyt/yanndroid/samsung/${latest}/samsung-${latest}.aar")*/
24+
artifact("$rootDir/yanndroid/samsung/build/outputs/aar/samsung-release.aar")
2425
}
2526
}
2627
}
2728

28-
uploadArchives {
29+
/*uploadArchives {
2930
repositories.mavenDeployer {
3031
pom.groupId = 'de.dlyt.yanndroid'
3132
pom.artifactId = 'samsung'
3233
pom.version = latest
3334
repository(url: "file:./releases/")
3435
}
35-
}
36+
}*/
3637

3738
android {
3839
compileSdkVersion 30

0 commit comments

Comments
 (0)