92 lines
3.3 KiB
Groovy
92 lines
3.3 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'com.google.gms.google-services'
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 31
|
|
|
|
|
|
defaultConfig {
|
|
applicationId "com.web.telur33"
|
|
minSdkVersion 24
|
|
targetSdkVersion 31
|
|
versionCode 106
|
|
versionName "v1.0.6"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
signingConfigs {
|
|
debug {
|
|
storeFile file('telur33.jks')
|
|
storePassword "android2014"
|
|
keyAlias 'key0'
|
|
keyPassword "android2014"
|
|
}
|
|
release {
|
|
storeFile file('telur33.jks')
|
|
storePassword "android2014"
|
|
keyAlias 'key0'
|
|
keyPassword "android2014"
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'com.google.android.material:material:1.1.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
testImplementation 'junit:junit:4.+'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
implementation files('libs\\tbs_sdk_thirdapp_v4.3.0.386_44286_20230210.jar')
|
|
|
|
// okhttp相关库
|
|
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
|
|
|
|
// JSON解析库
|
|
implementation 'com.google.code.gson:gson:2.9.0'
|
|
implementation 'com.alibaba:fastjson:1.1.71.android'
|
|
api 'com.squareup.retrofit2:retrofit:2.5.0'
|
|
api 'com.squareup.retrofit2:converter-scalars:2.3.0'
|
|
api 'com.squareup.retrofit2:converter-gson:2.4.0'
|
|
api 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
|
|
api 'io.reactivex.rxjava2:rxjava:2.1.16'
|
|
api 'io.reactivex.rxjava2:rxandroid:2.0.2'
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'
|
|
implementation 'com.github.Justson.AgentWeb:agentweb-core:v5.0.6-androidx' // (必选)
|
|
implementation 'com.github.Justson.AgentWeb:agentweb-filechooser:v5.0.6-androidx' // (可选)
|
|
implementation 'com.github.Justson:Downloader:v5.0.4-androidx'
|
|
//implementation 'com.tencent.tbs:tbssdk:44286'
|
|
// sdk 33
|
|
// implementation platform('com.google.firebase:firebase-bom:32.7.0')
|
|
// Firebase Cloud Messaging
|
|
// implementation("com.google.firebase:firebase-messaging")
|
|
// implementation("com.google.firebase:firebase-analytics")
|
|
|
|
implementation platform('com.google.firebase:firebase-bom:32.1.0')
|
|
|
|
// Add the dependencies for the Firebase Cloud Messaging and Analytics libraries
|
|
// When using the BoM, you don't specify versions in Firebase library dependencies
|
|
implementation 'com.google.firebase:firebase-messaging'
|
|
implementation 'com.google.firebase:firebase-analytics'
|
|
// implementation("com.google.firebase:firebase-messaging:23.2.1")
|
|
// implementation("com.google.firebase:firebase-analytics:21.2.1")
|
|
// implementation 'com.google.firebase:firebase-messaging-directboot:20.2.0' //直接启动模式
|
|
implementation("com.github.bumptech.glide:glide:4.13.1")
|
|
implementation project(path: ':base')
|
|
|
|
} |