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
commands:
- ./gradlew build
- ./gradlew :wrapper:fatJar
- mv /drone/src/wrapper/build/libs/*.jar /drone/src/out/
- mv /drone/src/app/build/outputs/apk/release/*.apk /drone/src/out/

View File

@ -15,8 +15,10 @@ dependencies {
testImplementation("junit:junit:4.12")
}
tasks {
jar {
tasks{
register<Jar>("fatJar") {
archiveClassifier.set("fat")
from(
configurations.compileClasspath
.map { config ->