add release pipeline #27

Manually merged
UmbertoF merged 7 commits from feature_ci into develop 2020-01-14 20:20:13 +00:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 7bc707a443 - Show all commits

View File

@ -54,6 +54,7 @@ steps:
path: /drone/src/out path: /drone/src/out
commands: commands:
- ./gradlew build - ./gradlew build
- ./gradlew :wrapper:fatJar
- mv /drone/src/wrapper/build/libs/*.jar /drone/src/out/ - mv /drone/src/wrapper/build/libs/*.jar /drone/src/out/
- mv /drone/src/app/build/outputs/apk/release/*.apk /drone/src/out/ - mv /drone/src/app/build/outputs/apk/release/*.apk /drone/src/out/

View File

@ -16,7 +16,9 @@ dependencies {
} }
tasks{ tasks{
jar { register<Jar>("fatJar") {
archiveClassifier.set("fat")
from( from(
configurations.compileClasspath configurations.compileClasspath
.map { config -> .map { config ->