fix makeJar task

This commit is contained in:
Cloudburst 2023-11-11 17:40:47 +01:00
parent 6db295a799
commit 685884e67f
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,8 @@ jobs:
echo "key_pwd=$KEY_PWD" >> $GITHUB_OUTPUT echo "key_pwd=$KEY_PWD" >> $GITHUB_OUTPUT
- name: Run Gradle - name: Run Gradle
run: | run: |
./gradlew assemblePrerelease makeJar androidSourcesJar ./gradlew assemblePrerelease androidSourcesJar
./gradlew makeJar # for classes.jar, has to be done after assemblePrerelease
env: env:
SIGNING_KEY_ALIAS: "key0" SIGNING_KEY_ALIAS: "key0"
SIGNING_KEY_PASSWORD: ${{ steps.fetch_keystore.outputs.key_pwd }} SIGNING_KEY_PASSWORD: ${{ steps.fetch_keystore.outputs.key_pwd }}

View file

@ -276,7 +276,6 @@ tasks.register("makeJar", Copy::class) {
from("build/intermediates/compile_app_classes_jar/prereleaseDebug") from("build/intermediates/compile_app_classes_jar/prereleaseDebug")
into("build") into("build")
include("classes.jar") include("classes.jar")
dependsOn("build")
} }
tasks.withType<KotlinCompile> { tasks.withType<KotlinCompile> {