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
commitf98b1ccc0a85cf58ec2b65a39dd7feb770803bba (patch)
treeb0157ad7ed02aff51c9a5281eb42a44ec15a88c0 /build/scripts/gen_aar_gradle_script.py
parent6eb4c90eddd2fa28550ba7f04d0815659b4270ff (diff)
downloadydb-f98b1ccc0a85cf58ec2b65a39dd7feb770803bba.tar.gz
Restoring authorship annotation for <axxeny@yandex-team.ru>. Commit 1 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 4594e67278..3240cc34c5 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]