Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 4ce51fc

Browse files
author
xiaolin.gan
committed
Support x86 and limit ndk version
Signed-off-by: xiaolin.gan <xiaolin.gan@bytedance.com>
1 parent 7d793ec commit 4ce51fc

File tree

7 files changed

+13
-8
lines changed

7 files changed

+13
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ local.properties
66
build
77
captures
88
.externalNativeBuild
9+
.cxx

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ build.gradle的dependencies中添加依赖:
3232
```gradle
3333
dependencies {
3434
... ...
35+
// For specific version number, please refer to app demo
3536
implementation 'com.bytedance.boost_multidex:boost_multidex:${ARTIFACT_VERSION}'
3637
}
3738
```

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies {
3131
implementation 'com.android.support:appcompat-v7:28.0.0'
3232
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
3333

34-
implementation 'com.bytedance.boost_multidex:boost_multidex:1.0.0'
34+
implementation 'com.bytedance.boost_multidex:boost_multidex:1.0.1'
3535

3636
implementation "org.scala-lang:scala-library:2.11.7"
3737
implementation "com.facebook.fresco:fresco:1.0.1"

boost_multidex/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,22 @@ apply plugin: 'com.novoda.bintray-release'
33

44
android {
55
compileSdkVersion 28
6+
ndkVersion "16.1.4479499"
67

78
defaultConfig {
89
minSdkVersion 14
910
targetSdkVersion 28
10-
versionCode 1
11+
// versionCode 1
1112
versionName ARTIFACT_VERSION
1213

1314
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1415

15-
consumerProguardFiles 'proguard-rules.pro'
16+
consumerProguardFiles "proguard-rules.pro"
1617

1718
externalNativeBuild {
1819
cmake {
1920
cppFlags "-std=c++14", "-fno-exceptions", "-O2"
20-
abiFilters 'armeabi', 'armeabi-v7a'
21+
abiFilters "armeabi", "armeabi-v7a", "x86"
2122
}
2223
}
2324
}

boost_multidex/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ org.gradle.jvmargs=-Xmx1536m
1515
ORG_NAME=galaxy-leo-open-source
1616
GROUP_ID=com.bytedance.boost_multidex
1717
ARTIFACT_ID=boost_multidex
18-
ARTIFACT_VERSION=1.0.0
18+
ARTIFACT_VERSION=1.0.1
1919
WEBSITE=https://github.com/bytedance/BoostMultiDex
2020
DESC=boost multidex
21-
# ./gradlew clean build bintrayUpload -PbintrayUser=BINTRAY_USERNAME -PbintrayKey=BINTRAY_KEY -PdryRun=false
21+
# ./gradlew clean build bintrayUpload -PbintrayUser=BINTRAY_USERNAME -PbintrayKey=BINTRAY_KEY -PdryRun=false

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ buildscript {
88
mavenCentral()
99
}
1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:3.2.1'
11+
classpath 'com.android.tools.build:gradle:3.5.0'
12+
//classpath 'com.android.tools.build:gradle:3.2.1'
1213
classpath 'com.novoda:bintray-release:0.9.2'
1314
// NOTE: Do not place your application dependencies here; they belong
1415
// in the individual module build.gradle files
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Mon Jun 01 11:05:38 CST 2020
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip

0 commit comments

Comments
 (0)