Skip to content

Commit ff5efdf

Browse files
committed
update gradle/arm64-v8a
1 parent 563b685 commit ff5efdf

File tree

6 files changed

+19
-13
lines changed

6 files changed

+19
-13
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ out/
1616
# Gradle files
1717
.gradle/
1818
build/
19+
.idea/
1920

2021
# Local configuration file (sdk path, etc)
2122
local.properties

app/build.gradle

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ android {
1818

1919
ndk {
2020
//选择要添加的对应cpu类型的.so库。
21-
abiFilters 'armeabi-v7a', 'x86'
21+
abiFilters 'arm64-v8a', 'x86'
2222
}
2323
}
2424

@@ -69,10 +69,9 @@ android {
6969
targetCompatibility JavaVersion.VERSION_1_8
7070
}
7171

72-
buildFeatures{
73-
dataBinding = true
74-
// for view binding :
75-
// viewBinding = true
72+
// dataBinding 加入
73+
dataBinding {
74+
enabled = true
7675
}
7776

7877
// https://github.com/ReactiveX/RxJava/issues/4445
@@ -98,7 +97,7 @@ dependencies {
9897
implementation 'com.cocosw:bottomsheet:1.4.0'
9998
implementation 'me.drakeet.support:toastcompat:1.1.0'
10099
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'
102101
implementation 'com.github.youlookwhat:ByWebView:1.2.1'
103102
implementation 'androidx.webkit:webkit:1.4.0'
104103

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ buildscript {
1010
mavenCentral()
1111
}
1212
dependencies {
13-
classpath 'com.android.tools.build:gradle:4.0.2'
13+
classpath 'com.android.tools.build:gradle:3.4.3'
1414
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1515
// NOTE: Do not place your application dependencies here; they belong
1616
// in the individual module build.gradle files

bymvvm/build.gradle

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,19 @@ android {
2020
}
2121
}
2222

23-
buildFeatures{
24-
dataBinding = true
25-
// for view binding :
26-
// viewBinding = true
23+
// dataBinding 加入
24+
dataBinding {
25+
enabled = true
2726
}
2827

2928
// https://github.com/ReactiveX/RxJava/issues/4445
3029
packagingOptions {
3130
exclude 'META-INF/rxjava.properties'
3231
}
32+
compileOptions {
33+
sourceCompatibility JavaVersion.VERSION_1_8
34+
targetCompatibility JavaVersion.VERSION_1_8
35+
}
3336

3437
}
3538

gradle.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@
99

1010
# Specifies the JVM arguments used for the daemon process.
1111
# The setting is particularly useful for tweaking memory settings.
12-
org.gradle.jvmargs=-Xmx2048m
12+
org.gradle.jvmargs=-Xmx4096m
1313

1414
# When configured, Gradle will run in incubating parallel mode.
1515
# This option should only be used with decoupled projects. More details, visit
1616
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1717
# org.gradle.parallel=true
1818

19+
# vivo手机打包处理(不能打test)
20+
android.injected.testOnly = false
21+
1922
android.useAndroidX=true
2023
android.enableJetifier=true

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
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

0 commit comments

Comments
 (0)