1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-09-09 02:09:41 +02:00

Update opoc

This commit is contained in:
Gregor Santner 2019-07-26 03:19:28 +02:00
parent 3ec8ab89c6
commit a618da97d8
No known key found for this signature in database
GPG key ID: 7E83A7834AECB009
12 changed files with 701 additions and 39 deletions

View file

@ -13,8 +13,8 @@ import java.text.SimpleDateFormat
buildscript {
ext {
version_gradle_tools = "3.2.1"
version_plugin_kotlin = "1.3.11"
version_gradle_tools = "3.4.2"
version_plugin_kotlin = "1.3.41"
enable_plugin_kotlin = false
version_compileSdk = 28
@ -79,7 +79,7 @@ static String findUsedAndroidLocales() {
Set<String> langs = new HashSet<>()
new File('.').eachFileRecurse(groovy.io.FileType.DIRECTORIES) {
final foldername = it.name
if (foldername.startsWith('values-') && !it.canonicalPath.contains("build" + File.separator + "intermediates")) {
if (foldername.startsWith('values-') && !it.canonicalPath.contains("build" + File.separator + "intermediates") && !it.canonicalPath.contains("gradle" + File.separator + "daemon")) {
new File(it.toString()).eachFileRecurse(groovy.io.FileType.FILES) {
if (it.name.toLowerCase().endsWith(".xml") && it.getCanonicalFile().getText('UTF-8').contains("<string")) {
langs.add(foldername.replace("values-", ""))