File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ task permissions(type:Exec) {
36
36
commandLine ' python' , ' permissions.py'
37
37
}
38
38
39
-
40
39
task wrapper (type : Wrapper ) {
41
40
gradleVersion = ' 4.4.1' // version required for gradle wrapper
42
41
}
@@ -48,17 +47,13 @@ wrapper.doLast {
48
47
file(" gradlew.bat" ). renameTo(file(" mode/gradlew/gradlew.bat" ))
49
48
ZipUtil . pack(file(" mode/gradlew" ), new File (" mode/gradlew.zip" ));
50
49
delete " mode/gradlew"
51
-
52
- println (" Done with creating wrapper" )
53
50
}
54
51
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
+ }
62
57
63
58
build. doLast {
64
59
Files . copy(file(" $buildDir /libs/mode.jar" ). toPath(),
You can’t perform that action at this time.
0 commit comments