File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed
src/main/java/com/example/jingbin/webviewstudy Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22
3- android {
4- compileSdkVersion 29
5- buildToolsVersion " 29.0.3"
3+ apply plugin : ' com.github.dcendents.android-maven'
4+ group = ' com.github.youlookwhat'
65
6+ android {
7+ compileSdkVersion 30
78
89 defaultConfig {
910 minSdkVersion 14
10- targetSdkVersion 29
11+ targetSdkVersion 30
1112 versionCode 1
1213 versionName " 1.0"
1314
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
22
33android {
4- compileSdkVersion 29
5- buildToolsVersion " 29.0.3 "
4+ compileSdkVersion 30
5+
66 defaultConfig {
77 applicationId " com.example.jingbin.webviewstudy"
88 minSdkVersion 14
9- targetSdkVersion 29
9+ targetSdkVersion 30
1010 versionCode 15
1111 versionName " 3.3.1"
1212 multiDexEnabled true
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public void onCoreInitFinished() {
5555 QbSdk .initX5Environment (getApplicationContext (), cb );
5656
5757 // 在调用TBS初始化、创建WebView之前进行如下配置
58- HashMap map = new HashMap ();
58+ HashMap < String , Object > map = new HashMap < String , Object > ();
5959 map .put (TbsCoreSettings .TBS_SETTINGS_USE_SPEEDY_CLASSLOADER , true );
6060 map .put (TbsCoreSettings .TBS_SETTINGS_USE_DEXLOADER_SERVICE , true );
6161 QbSdk .initTbsSettings (map );
Original file line number Diff line number Diff line change 33buildscript {
44 repositories {
55 google()
6- jcenter ()
6+ mavenCentral ()
77 }
88 dependencies {
99 classpath ' com.android.tools.build:gradle:3.4.2'
10+ classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1'
1011 // NOTE: Do not place your application dependencies here; they belong
1112 // in the individual module build.gradle files
1213 }
@@ -15,7 +16,7 @@ buildscript {
1516allprojects {
1617 repositories {
1718 google()
18- jcenter ()
19+ mavenCentral ()
1920 maven { url ' https://jitpack.io' }
2021 }
2122}
You can’t perform that action at this time.
0 commit comments