mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 10:54:36 -06:00
[Gradle] Fix moving artifacts to release folder, again.
This commit is contained in:
parent
8b0f3490e3
commit
e9a2dae1e4
@ -98,7 +98,10 @@ tasks.whenTaskAdded { task ->
|
|||||||
|
|
||||||
if (flavor != "") {
|
if (flavor != "") {
|
||||||
tasks.create(renameTaskName, Copy) {
|
tasks.create(renameTaskName, Copy) {
|
||||||
from file("${projectDir}/${flavor}/release/"), file("${buildDir}/outputs/mapping/${flavor}Release/"), file("${buildDir}/outputs/apk/${flavor}Release/")
|
from file("${projectDir}/${flavor}/release/"),
|
||||||
|
file("${buildDir}/outputs/mapping/${flavor}Release/"),
|
||||||
|
file("${buildDir}/outputs/apk/${flavor}/release/"),
|
||||||
|
file("${buildDir}/outputs/bundle/${flavor}Release/")
|
||||||
include "*.aab", "*.apk", "mapping.txt", "output-metadata.json"
|
include "*.aab", "*.apk", "mapping.txt", "output-metadata.json"
|
||||||
destinationDir file("${projectDir}/release/")
|
destinationDir file("${projectDir}/release/")
|
||||||
rename ".+?\\.(.+)", "Edziennik_${android.defaultConfig.versionName}_${flavor}." + '$1'
|
rename ".+?\\.(.+)", "Edziennik_${android.defaultConfig.versionName}_${flavor}." + '$1'
|
||||||
|
Loading…
Reference in New Issue
Block a user