File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,15 @@ android {
9
9
targetSdkVersion 28
10
10
versionCode 25
11
11
versionName " 2.2.5-non-native"
12
-
13
12
vectorDrawables. useSupportLibrary = true
13
+
14
+ libraryVariants. all { variant ->
15
+ variant. outputs. all {
16
+ def type = new String (buildType. name). toLowerCase()
17
+ def time = new Date (). format(" yyyyMMdd" , TimeZone . getTimeZone(" GMT+08" ))
18
+ outputFileName = " lib_crop_" + type + " _" + time + " .aar"
19
+ }
20
+ }
14
21
}
15
22
buildTypes {
16
23
release {
Original file line number Diff line number Diff line change @@ -11,6 +11,14 @@ android {
11
11
versionName " 2.2.5-native"
12
12
vectorDrawables. useSupportLibrary = true
13
13
14
+ libraryVariants. all { variant ->
15
+ variant. outputs. all {
16
+ def type = new String (buildType. name). toLowerCase()
17
+ def time = new Date (). format(" yyyyMMdd" , TimeZone . getTimeZone(" GMT+08" ))
18
+ outputFileName = " lib_crop_" + type + " _" + time + " .aar"
19
+ }
20
+ }
21
+
14
22
ndk {
15
23
abiFilters " armeabi"
16
24
}
You can’t perform that action at this time.
0 commit comments