aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-06-15 12:49:12 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-06-15 12:51:37 +0530
commitc3693b3e665d4a58d4d775441f4b7ea3de0b4404 (patch)
treeccd0a74ea873368873d7e25d932ad78064dcc1ff
parentgradle: update AndroidX and Kotlin (diff)
downloadwireguard-android-master.tar.xz
wireguard-android-master.zip
gradle: remove crowdin kludgeHEADmaster
This never ended up being used over the shell script Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--build.gradle33
1 files changed, 0 insertions, 33 deletions
diff --git a/build.gradle b/build.gradle
index e1912e4..4aa755a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -23,39 +23,6 @@ buildscript {
}
}
-plugins {
- id "de.undercouch.download" version "5.0.4"
-}
-
-task downloadCrowdin(type: Download) {
- src 'https://crowdin.com/backend/download/project/wireguard.zip'
- dest file('build/translations.zip')
- overwrite true
-}
-
-task cleanCrowdin(type: Delete) {
- delete 'ui/src/main/res/values-*/strings.xml'
-}
-
-task extractCrowdin(type: Copy, dependsOn: ['downloadCrowdin', 'cleanCrowdin']) {
- mustRunAfter 'downloadCrowdin'
- from zipTree(file('build/translations.zip'))
- into file('build/translations')
- doFirst {
- delete 'build/translations'
- }
-}
-
-task crowdin(type: Copy, dependsOn: ['extractCrowdin']) {
- mustRunAfter 'extractCrowdin'
- from 'build/translations/wireguard-android/ui/src/main/res'
- into 'ui/src/main/res/'
- doLast {
- delete 'build/translations'
- delete 'build/translations.zip'
- }
-}
-
task clean(type: Delete) {
delete rootProject.buildDir
}