Skip to content

Commit c781e1f

Browse files
committed
convert tabs to spaces
1 parent b26f311 commit c781e1f

File tree

1 file changed

+51
-51
lines changed

1 file changed

+51
-51
lines changed

pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -13,65 +13,65 @@ allprojects {
1313
repositories {
1414
google()
1515
jcenter()
16-
{%- for repo in args.gradle_repositories %}
17-
{{repo}}
18-
{%- endfor %}
19-
flatDir {
20-
dirs 'libs'
21-
}
16+
{%- for repo in args.gradle_repositories %}
17+
{{repo}}
18+
{%- endfor %}
19+
flatDir {
20+
dirs 'libs'
21+
}
2222
}
2323
}
2424

2525
apply plugin: 'com.android.application'
2626

2727
android {
28-
compileSdkVersion {{ android_api }}
29-
buildToolsVersion '{{ build_tools_version }}'
30-
defaultConfig {
31-
minSdkVersion {{ args.min_sdk_version }}
32-
targetSdkVersion {{ android_api }}
33-
versionCode {{ args.numeric_version }}
34-
versionName '{{ args.version }}'
35-
}
28+
compileSdkVersion {{ android_api }}
29+
buildToolsVersion '{{ build_tools_version }}'
30+
defaultConfig {
31+
minSdkVersion {{ args.min_sdk_version }}
32+
targetSdkVersion {{ android_api }}
33+
versionCode {{ args.numeric_version }}
34+
versionName '{{ args.version }}'
35+
}
3636

37-
{% if args.sign -%}
38-
signingConfigs {
39-
release {
40-
storeFile file(System.getenv("P4A_RELEASE_KEYSTORE"))
41-
keyAlias System.getenv("P4A_RELEASE_KEYALIAS")
42-
storePassword System.getenv("P4A_RELEASE_KEYSTORE_PASSWD")
43-
keyPassword System.getenv("P4A_RELEASE_KEYALIAS_PASSWD")
44-
}
45-
}
37+
{% if args.sign -%}
38+
signingConfigs {
39+
release {
40+
storeFile file(System.getenv("P4A_RELEASE_KEYSTORE"))
41+
keyAlias System.getenv("P4A_RELEASE_KEYALIAS")
42+
storePassword System.getenv("P4A_RELEASE_KEYSTORE_PASSWD")
43+
keyPassword System.getenv("P4A_RELEASE_KEYALIAS_PASSWD")
44+
}
45+
}
4646
{%- endif %}
4747

48-
{% if args.packaging_options -%}
48+
{% if args.packaging_options -%}
4949
packagingOptions {
50-
{%- for option in args.packaging_options %}
50+
{%- for option in args.packaging_options %}
5151
{{option}}
52-
{%- endfor %}
52+
{%- endfor %}
5353
}
54-
{%- endif %}
54+
{%- endif %}
5555

56-
buildTypes {
57-
debug {
58-
}
59-
release {
60-
{% if args.sign -%}
61-
signingConfig signingConfigs.release
62-
{%- endif %}
63-
}
64-
}
56+
buildTypes {
57+
debug {
58+
}
59+
release {
60+
{% if args.sign -%}
61+
signingConfig signingConfigs.release
62+
{%- endif %}
63+
}
64+
}
6565

6666
compileOptions {
6767
sourceCompatibility JavaVersion.VERSION_1_7
6868
targetCompatibility JavaVersion.VERSION_1_7
69-
{%- for compat in args.java_source_compat %}
69+
{%- for compat in args.java_source_compat %}
7070
sourceCompatibility {{compat}}
71-
{%- endfor %}
72-
{%- for compat in args.java_target_compat %}
71+
{%- endfor %}
72+
{%- for compat in args.java_target_compat %}
7373
targetCompatibility {{compat}}
74-
{%- endfor %}
74+
{%- endfor %}
7575
}
7676

7777
sourceSets {
@@ -83,15 +83,15 @@ android {
8383
}
8484

8585
dependencies {
86-
{%- for aar in aars %}
87-
compile(name: '{{ aar }}', ext: 'aar')
88-
{%- endfor -%}
89-
{%- for jar in jars %}
90-
compile files('src/main/libs/{{ jar }}')
91-
{%- endfor -%}
92-
{%- if args.depends -%}
93-
{%- for depend in args.depends %}
94-
compile '{{ depend }}'
95-
{%- endfor %}
96-
{%- endif %}
86+
{%- for aar in aars %}
87+
compile(name: '{{ aar }}', ext: 'aar')
88+
{%- endfor -%}
89+
{%- for jar in jars %}
90+
compile files('src/main/libs/{{ jar }}')
91+
{%- endfor -%}
92+
{%- if args.depends -%}
93+
{%- for depend in args.depends %}
94+
compile '{{ depend }}'
95+
{%- endfor %}
96+
{%- endif %}
9797
}

0 commit comments

Comments
 (0)