You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
3.5 KiB
Groovy
107 lines
3.5 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.xypower.wpywapp'
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "com.xypower.wpywapp"
|
|
minSdk 28
|
|
targetSdk 33
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
signingConfigs {
|
|
debug {
|
|
storeFile file("../sign/platform.jks")
|
|
storePassword 'dowse_mtk8788'
|
|
keyAlias 'ds_mt8788_key'
|
|
keyPassword 'dowse_mtk8788'
|
|
}
|
|
|
|
release {
|
|
storeFile file("../sign/platform.jks")
|
|
storePassword 'dowse_mtk8788'
|
|
keyAlias 'ds_mt8788_key'
|
|
keyPassword 'dowse_mtk8788'
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
/*
|
|
*支持databinding
|
|
* */
|
|
dataBinding {
|
|
enabled = true
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'com.google.android.material:material:1.8.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1'
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1'
|
|
implementation 'androidx.navigation:navigation-fragment:2.5.3'
|
|
implementation 'androidx.navigation:navigation-ui:2.5.3'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
implementation 'me.jessyan:autosize:1.2.1'
|
|
|
|
//viewmodel依赖
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel:2.4.0"
|
|
implementation "androidx.lifecycle:lifecycle-common-java8:2.2.0"
|
|
//Livedata去除粘性事件
|
|
implementation 'com.kunminx.arch:unpeek-livedata:7.2.0-beta1'
|
|
|
|
implementation "com.tananaev:adblib:1.3"
|
|
|
|
|
|
|
|
// Add this library
|
|
// implementation 'com.github.MuntashirAkon:libadb-android:1.0.1'
|
|
|
|
// Library to generate X509Certificate. You can also use BouncyCastle for
|
|
// this. See example for use-case.
|
|
implementation 'com.github.MuntashirAkon:sun-security-android:1.1'
|
|
|
|
// Bypass hidden API if you want to use the Android default Conscrypt in
|
|
// Android 9 (Pie) or later. It also requires additional steps. See
|
|
// https://github.com/LSPosed/AndroidHiddenApiBypass to find out more about
|
|
// this.
|
|
implementation 'org.lsposed.hiddenapibypass:hiddenapibypass:2.0'
|
|
|
|
// Use custom Conscrypt library. If you want to connect to a remote ADB
|
|
// daemon instead of the device the app is currently running or do not want
|
|
// to bypass hidden API, this is the recommended choice.
|
|
implementation 'org.conscrypt:conscrypt-android:2.5.2'
|
|
implementation 'com.github.MuntashirAkon.spake2-java:android:2.0.0'
|
|
implementation 'org.bouncycastle:bcprov-jdk15to18:1.78'
|
|
|
|
implementation 'com.tananaev:adblib:1.3'
|
|
|
|
|
|
api 'com.github.KunMinX:MVI-Dispatcher:7.6.0'
|
|
// api 'com.github.KunMinX.Strict-DataBinding:strict_databinding:6.2.0'
|
|
|
|
//Livedata去除粘性事件
|
|
implementation 'com.kunminx.arch:unpeek-livedata:7.8.0'
|
|
} |