mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
add sources jar
This commit is contained in:
parent
f90f91cea5
commit
8b4b1fd7fd
2 changed files with 9 additions and 1 deletions
5
.github/workflows/prerelease.yml
vendored
5
.github/workflows/prerelease.yml
vendored
|
@ -39,7 +39,9 @@ jobs:
|
||||||
# mkdir -p "${TMP_KEYSTORE_FILE_PATH}"
|
# mkdir -p "${TMP_KEYSTORE_FILE_PATH}"
|
||||||
# echo $ENCODED_STRING | base64 -di > "${TMP_KEYSTORE_FILE_PATH}"/prerelease_keystore.keystore
|
# echo $ENCODED_STRING | base64 -di > "${TMP_KEYSTORE_FILE_PATH}"/prerelease_keystore.keystore
|
||||||
- name: Run Gradle
|
- name: Run Gradle
|
||||||
run: ./gradlew app:assembleDebug
|
run: |
|
||||||
|
./gradlew app:assembleDebug
|
||||||
|
./gradlew app:androidSourcesJar
|
||||||
# env:
|
# env:
|
||||||
# SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
|
# SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
|
||||||
# SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
# SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
||||||
|
@ -53,3 +55,4 @@ jobs:
|
||||||
title: "Pre-release Build"
|
title: "Pre-release Build"
|
||||||
files: |
|
files: |
|
||||||
app/build/outputs/apk/debug/*.apk
|
app/build/outputs/apk/debug/*.apk
|
||||||
|
app/build/libs/app-sources.jar
|
||||||
|
|
|
@ -184,3 +184,8 @@ dependencies {
|
||||||
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task androidSourcesJar(type: Jar) {
|
||||||
|
getArchiveClassifier().set('sources')
|
||||||
|
from android.sourceSets.main.java.srcDirs//full sources
|
||||||
|
}
|
Loading…
Reference in a new issue