File tree Expand file tree Collapse file tree 6 files changed +19
-13
lines changed Expand file tree Collapse file tree 6 files changed +19
-13
lines changed Original file line number Diff line number Diff line change 16
16
# Gradle files
17
17
.gradle /
18
18
build /
19
+ .idea /
19
20
20
21
# Local configuration file (sdk path, etc)
21
22
local.properties
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ android {
18
18
19
19
ndk {
20
20
// 选择要添加的对应cpu类型的.so库。
21
- abiFilters ' armeabi-v7a ' , ' x86'
21
+ abiFilters ' arm64-v8a ' , ' x86'
22
22
}
23
23
}
24
24
@@ -69,10 +69,9 @@ android {
69
69
targetCompatibility JavaVersion . VERSION_1_8
70
70
}
71
71
72
- buildFeatures{
73
- dataBinding = true
74
- // for view binding :
75
- // viewBinding = true
72
+ // dataBinding 加入
73
+ dataBinding {
74
+ enabled = true
76
75
}
77
76
78
77
// https://github.com/ReactiveX/RxJava/issues/4445
@@ -98,7 +97,7 @@ dependencies {
98
97
implementation ' com.cocosw:bottomsheet:1.4.0'
99
98
implementation ' me.drakeet.support:toastcompat:1.1.0'
100
99
implementation ' com.github.chrisbanes:PhotoView:2.1.4'
101
- implementation ' com.github.youlookwhat:ByBannerView:1.3.2 '
100
+ implementation ' com.github.youlookwhat:ByBannerView:1.4.0 '
102
101
implementation ' com.github.youlookwhat:ByWebView:1.2.1'
103
102
implementation ' androidx.webkit:webkit:1.4.0'
104
103
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ buildscript {
10
10
mavenCentral()
11
11
}
12
12
dependencies {
13
- classpath ' com.android.tools.build:gradle:4.0.2 '
13
+ classpath ' com.android.tools.build:gradle:3.4.3 '
14
14
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
15
15
// NOTE: Do not place your application dependencies here; they belong
16
16
// in the individual module build.gradle files
Original file line number Diff line number Diff line change @@ -20,16 +20,19 @@ android {
20
20
}
21
21
}
22
22
23
- buildFeatures{
24
- dataBinding = true
25
- // for view binding :
26
- // viewBinding = true
23
+ // dataBinding 加入
24
+ dataBinding {
25
+ enabled = true
27
26
}
28
27
29
28
// https://github.com/ReactiveX/RxJava/issues/4445
30
29
packagingOptions {
31
30
exclude ' META-INF/rxjava.properties'
32
31
}
32
+ compileOptions {
33
+ sourceCompatibility JavaVersion . VERSION_1_8
34
+ targetCompatibility JavaVersion . VERSION_1_8
35
+ }
33
36
34
37
}
35
38
Original file line number Diff line number Diff line change 9
9
10
10
# Specifies the JVM arguments used for the daemon process.
11
11
# The setting is particularly useful for tweaking memory settings.
12
- org.gradle.jvmargs =-Xmx2048m
12
+ org.gradle.jvmargs =-Xmx4096m
13
13
14
14
# When configured, Gradle will run in incubating parallel mode.
15
15
# This option should only be used with decoupled projects. More details, visit
16
16
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17
17
# org.gradle.parallel=true
18
18
19
+ # vivo手机打包处理(不能打test)
20
+ android.injected.testOnly = false
21
+
19
22
android.useAndroidX =true
20
23
android.enableJetifier =true
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-6 .1.1-bin .zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-5 .1.1-all .zip
You can’t perform that action at this time.
0 commit comments