Skip to content

Commit 959db87

Browse files
committed
delete jar files in mode
1 parent 6e29978 commit 959db87

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

mode/build.gradle

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ task permissions(type:Exec) {
3636
commandLine 'python', 'permissions.py'
3737
}
3838

39-
4039
task wrapper(type: Wrapper) {
4140
gradleVersion = '4.4.1' //version required for gradle wrapper
4241
}
@@ -48,17 +47,13 @@ wrapper.doLast {
4847
file("gradlew.bat").renameTo(file("mode/gradlew/gradlew.bat"))
4948
ZipUtil.pack(file("mode/gradlew"), new File("mode/gradlew.zip"));
5049
delete "mode/gradlew"
51-
52-
println("Done with creating wrapper")
5350
}
5451

55-
56-
task updateGradlew(type:Exec) {
57-
// This task retrieves the latest list of Android permissions and adds them
58-
// to the Permissions.java file. The python scripts requries BeautifulSoup
59-
workingDir 'scripts'
60-
commandLine 'python', 'update-permissions.py'
61-
}
52+
clean.doFirst {
53+
delete fileTree("mode") {
54+
include '**/*.jar'
55+
}
56+
}
6257

6358
build.doLast {
6459
Files.copy(file("$buildDir/libs/mode.jar").toPath(),

mode/mode/gradlew.zip

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)