a355919cdc
- 新增 PosefitApplication 初始化 Timber DebugTree - WebRtcSenderClient/MainActivity/SimpleSdpObserver 添加 Timber 日志 - AGP 9.2.1 → 8.7.3,Gradle 9.4.1 → 8.11.1 适配 JDK 17 - compileSdk/targetSdk 恢复为 34,minSdk 保持 29 支持 Android 10 - 添加 android.useAndroidX=true 修复构建检查 - 删除 gradle-daemon-jvm.properties (JDK 21 残留配置) - 信令端口默认改为 8765
54 lines
1.5 KiB
Groovy
54 lines
1.5 KiB
Groovy
plugins {
|
|
alias(libs.plugins.android.application)
|
|
alias(libs.plugins.compose.compiler)
|
|
}
|
|
|
|
android {
|
|
namespace 'com.kimgo.posefit'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
applicationId "com.kimgo.posefit"
|
|
minSdk 29
|
|
targetSdk 34
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
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
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
buildConfig true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
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.appcompat
|
|
implementation libs.material
|
|
testImplementation libs.junit
|
|
androidTestImplementation libs.espresso.core
|
|
androidTestImplementation libs.ext.junit
|
|
implementation libs.timber
|
|
implementation "io.getstream:stream-webrtc-android:1.3.10"
|
|
implementation "com.squareup.okhttp3:okhttp:4.12.0"
|
|
} |