Skip to content

Commit

Permalink
Add build routine task
Browse files Browse the repository at this point in the history
  • Loading branch information
max-kammerer committed Apr 22, 2024
1 parent 98e3c89 commit 6f731b8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions orion-viewer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,22 @@ def fetchScreenshotsTask = tasks.register('fetchScreenshots') {
afterEvaluate {
connectedDebugAndroidTest.dependsOn 'uploadTestData'
connectedDebugAndroidTest.finalizedBy fetchScreenshotsTask
}

task('prepareRelease', type: Copy) {
from('build/outputs/apk/release') {
include '*'
}
from('build/outputs/native-debug-symbols/release') {
include '*'
}
from('build/outputs/mapping/release') {
include '*'
}

into "../../releases/${project.ext.orionVersionName}/"

dependsOn {
assembleRelease
}
}

0 comments on commit 6f731b8

Please sign in to comment.