This commit is contained in:
parent
92b6bc642a
commit
7bc707a443
@ -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/
|
||||||
|
|
||||||
|
@ -15,8 +15,10 @@ dependencies {
|
|||||||
testImplementation("junit:junit:4.12")
|
testImplementation("junit:junit:4.12")
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks{
|
||||||
jar {
|
register<Jar>("fatJar") {
|
||||||
|
archiveClassifier.set("fat")
|
||||||
|
|
||||||
from(
|
from(
|
||||||
configurations.compileClasspath
|
configurations.compileClasspath
|
||||||
.map { config ->
|
.map { config ->
|
||||||
|
Loading…
Reference in New Issue
Block a user