forked from kageiit/android-studio-gradle-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DEFS
42 lines (38 loc) · 885 Bytes
/
DEFS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
res_package="gradle.example"
original_android_library = android_library
def android_library(
**kwargs
):
original_android_library(
resource_union_package=res_package,
**kwargs
)
original_android_binary = android_binary
def android_binary(
**kwargs
):
original_android_binary(
trim_resource_ids = True,
aapt_mode='aapt2',
no_auto_version_resources=True,
skip_crunch_pngs=True,
resource_union_package=res_package,
**kwargs
)
original_android_resource = android_resource
def android_resource(
package,
**kwargs
):
original_android_resource(
package=res_package,
**kwargs
)
original_robolectric_test = robolectric_test
def robolectric_test(
**kwargs
):
original_robolectric_test(
resource_union_package=res_package,
**kwargs
)