feat(main): 迁移到 MVVM 并升级构建配置
- MainActivity/TestActivity 改用 DataBinding 和 ViewModel - 移除 ButterKnife 和旧的 MVP Contact 类 - 升级 Gradle、Kotlin 及构建脚本 - 配置 CMake 以支持 16KB 页面大小
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
android {
|
||||
namespace "com.ttstd.viewlibrary"
|
||||
|
||||
compileSdkVersion 30
|
||||
buildToolsVersion "30.0.3"
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 30
|
||||
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
@@ -25,6 +27,8 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
BCM310Debug {}
|
||||
BCM310Release {}
|
||||
MT6789Debug {}
|
||||
MT6789Release {}
|
||||
QZ15Debug {}
|
||||
@@ -75,5 +79,5 @@ dependencies {
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||||
implementation 'com.facebook.rebound:rebound:0.3.6'
|
||||
// implementation 'com.zcw:togglebutton-library:1.0.0'
|
||||
implementation 'com.github.zcweng:switch-button:0.0.3@aar'
|
||||
api 'com.github.zcweng:switch-button:0.0.3@aar'
|
||||
}
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.ttstd.viewlibrary" />
|
||||
<manifest package="com.ttstd.viewlibrary" />
|
||||
|
||||
Reference in New Issue
Block a user