aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/gen_aar_gradle_script.py
diff options
context:
space:
mode:
authoraxxeny <axxeny@yandex-team.ru>2022-02-10 16:51:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:51:37 +0300
commit597c5894e3c8cdfa680c5a5e8c2e69b61dce8254 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /build/scripts/gen_aar_gradle_script.py
parentf98b1ccc0a85cf58ec2b65a39dd7feb770803bba (diff)
downloadydb-597c5894e3c8cdfa680c5a5e8c2e69b61dce8254.tar.gz
Restoring authorship annotation for <axxeny@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/scripts/gen_aar_gradle_script.py')
-rw-r--r--build/scripts/gen_aar_gradle_script.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/build/scripts/gen_aar_gradle_script.py b/build/scripts/gen_aar_gradle_script.py
index 3240cc34c5..4594e67278 100644
--- a/build/scripts/gen_aar_gradle_script.py
+++ b/build/scripts/gen_aar_gradle_script.py
@@ -132,11 +132,11 @@ android {{
dependencies {{
for (bundle in bundles)
- compile("$bundle") {{
+ compile("$bundle") {{
transitive = true
}}
for (bundle in androidArs)
- compile(bundle) {{
+ compile(bundle) {{
transitive = true
}}
for (bundle in compileOnlyAndroidArs)
@@ -150,20 +150,20 @@ android {{
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
include '**/*.java'
- eachFile {{ fcd ->
- def segments = fcd.relativePath.segments
- if (segments[0] == 'impl') {{
- fcd.relativePath = new RelativePath(true, segments.drop(1))
- }}
- }}
- includeEmptyDirs = false
+ eachFile {{ fcd ->
+ def segments = fcd.relativePath.segments
+ if (segments[0] == 'impl') {{
+ fcd.relativePath = new RelativePath(true, segments.drop(1))
+ }}
+ }}
+ includeEmptyDirs = false
}}
def manifestFile = android.sourceSets.main.manifest.srcFile
def manifestXml = new XmlParser().parse(manifestFile)
def packageName = manifestXml['@package']
- def groupName = packageName.tokenize('.')[0..-2].join('.')
+ def groupName = packageName.tokenize('.')[0..-2].join('.')
def androidNs = new groovy.xml.Namespace("http://schemas.android.com/apk/res/android")
def packageVersion = manifestXml.attributes()[androidNs.versionName]