first
This commit is contained in:
159
app/build.gradle
Normal file
159
app/build.gradle
Normal file
@@ -0,0 +1,159 @@
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
id('kotlin-kapt')
|
||||
|
||||
}
|
||||
|
||||
android {
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file('../android_123456.keystore')
|
||||
keyAlias 'tangtang_app'
|
||||
keyPassword '123456'
|
||||
storePassword '123456'
|
||||
}
|
||||
debug {
|
||||
storeFile file('../android_123456.keystore')
|
||||
keyAlias 'tangtang_app'
|
||||
keyPassword '123456'
|
||||
storePassword '123456'
|
||||
}
|
||||
config {
|
||||
storeFile file('../android_123456.keystore')
|
||||
keyAlias 'tangtang_app'
|
||||
keyPassword '123456'
|
||||
storePassword '123456'
|
||||
}
|
||||
}
|
||||
namespace 'com.ck.ckcollar.app'
|
||||
compileSdk {
|
||||
version = release(36)
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.ck.ckcollar.app"
|
||||
minSdk 24
|
||||
targetSdk 36
|
||||
versionCode 1
|
||||
versionName "1.0.1"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_11
|
||||
targetCompatibility JavaVersion.VERSION_11
|
||||
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '11'
|
||||
}
|
||||
buildFeatures {
|
||||
viewBinding = true
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register('testClasses') {
|
||||
dependsOn 'compileDebugUnitTestSources'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation(name: 'library', ext: 'aar')
|
||||
implementation(name: 'changeskin', ext: 'aar')
|
||||
implementation(name: 'pickerview', ext: 'aar')
|
||||
implementation(name: 'wheelview', ext: 'aar')
|
||||
implementation(name: 'MNMLKitScanner', ext: 'aar')
|
||||
implementation(name: 'Flowlayout', ext: 'aar')
|
||||
implementation(name: 'photoview', ext: 'aar')
|
||||
|
||||
implementation libs.androidx.core.ktx
|
||||
implementation libs.androidx.lifecycle.runtime.ktx
|
||||
implementation libs.androidx.activity.compose
|
||||
implementation platform(libs.androidx.compose.bom)
|
||||
implementation libs.androidx.compose.ui
|
||||
implementation libs.androidx.compose.ui.graphics
|
||||
implementation libs.androidx.compose.ui.tooling.preview
|
||||
implementation libs.androidx.compose.material3
|
||||
implementation libs.material
|
||||
implementation libs.appcompat
|
||||
testImplementation libs.junit
|
||||
androidTestImplementation libs.androidx.junit
|
||||
androidTestImplementation libs.androidx.espresso.core
|
||||
androidTestImplementation platform(libs.androidx.compose.bom)
|
||||
androidTestImplementation libs.androidx.compose.ui.test.junit4
|
||||
debugImplementation libs.androidx.compose.ui.tooling
|
||||
debugImplementation libs.androidx.compose.ui.test.manifest
|
||||
|
||||
//可侧滑recyclerview
|
||||
implementation 'com.yanzhenjie.recyclerview:x:1.3.2'
|
||||
|
||||
//glide
|
||||
//implementation("com.github.bumptech.glide:glide:4.16.0")
|
||||
implementation 'com.github.bumptech.glide:glide:5.0.5'
|
||||
kapt 'com.github.bumptech.glide:compiler:5.0.5' // 对于Kotlin项目
|
||||
|
||||
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
||||
implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
|
||||
implementation 'com.squareup.okhttp3:okhttp-sse:4.12.0'
|
||||
|
||||
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
||||
implementation("pub.devrel:easypermissions:3.0.0")
|
||||
|
||||
implementation 'com.readystatesoftware.systembartint:systembartint:1.0.3'
|
||||
implementation("org.osmdroid:osmdroid-android:6.1.20")
|
||||
|
||||
api 'com.alipay.sdk:alipaysdk-android:+@aar'
|
||||
// implementation 'com.alipay.sdk:zmcredit-face:3.8.2'
|
||||
//
|
||||
// implementation 'com.alipay.sdk:zmcert-sdk:3.8.0'
|
||||
|
||||
api 'com.tencent.mm.opensdk:wechat-sdk-android:6.8.0'
|
||||
|
||||
//二维码三方库
|
||||
// implementation 'com.github.maning0303:MNMLKitScanner:V1.0.4'
|
||||
implementation 'com.google.mlkit:barcode-scanning:17.0.2'
|
||||
implementation "androidx.camera:camera-core:1.0.2"
|
||||
implementation "androidx.camera:camera-camera2:1.0.2"
|
||||
implementation "androidx.camera:camera-lifecycle:1.0.2"
|
||||
implementation "androidx.camera:camera-view:1.0.0-alpha25"
|
||||
|
||||
|
||||
implementation ("com.huawei.hms:scanplus:2.9.0.300")
|
||||
|
||||
//
|
||||
implementation("com.geyifeng.immersionbar:immersionbar:3.2.2")
|
||||
// kotlin扩展(可选)
|
||||
implementation("com.geyifeng.immersionbar:immersionbar-ktx:3.2.2")
|
||||
|
||||
implementation 'io.github.youth5201314:banner:2.2.3'
|
||||
|
||||
implementation 'com.kyleduo.switchbutton:library:2.1.0'
|
||||
implementation 'com.github.zcweng:switch-button:0.0.3@aar'
|
||||
|
||||
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-14'
|
||||
implementation 'com.scwang.smart:refresh-header-classics:2.0.1'
|
||||
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
|
||||
|
||||
//图片
|
||||
//支付宝
|
||||
api 'com.alipay.sdk:alipaysdk-android:+@aar'
|
||||
|
||||
//websocket
|
||||
implementation 'org.java-websocket:Java-WebSocket:1.5.2'
|
||||
|
||||
implementation 'com.umeng.umsdk:common:9.4.7'// 必选
|
||||
implementation 'com.umeng.umsdk:asms:1.4.0'// 必选
|
||||
implementation 'com.umeng.umsdk:apm:+'
|
||||
|
||||
implementation 'com.github.yyued:SVGAPlayer-Android:2.6.1'
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user