main commit
This commit is contained in:
87
app/build.gradle.kts.backup
Normal file
87
app/build.gradle.kts.backup
Normal file
@@ -0,0 +1,87 @@
|
||||
plugins {
|
||||
id("com.android.application")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.example.godeye"
|
||||
compileSdk = 29 // Понижаем до Android 10
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.example.godeye"
|
||||
minSdk = 24
|
||||
targetSdk = 28 // Понижаем до Android 9
|
||||
versionCode = 1
|
||||
versionName = "1.0-legacy"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
|
||||
// ОТКЛЮЧАЕМ COMPOSE ДЛЯ LEGACY ВЕРСИИ
|
||||
buildFeatures {
|
||||
compose = false
|
||||
viewBinding = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// ЭКСТРЕМАЛЬНО СТАРЫЕ зависимости для Android 9 (compileSdk 29)
|
||||
implementation("androidx.core:core-ktx:1.3.2") // Совместимо с API 29
|
||||
implementation("androidx.appcompat:appcompat:1.2.0") // Совместимо с API 29
|
||||
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.2.0") // Совместимо с API 29
|
||||
|
||||
// Классический Android UI - версии для API 29
|
||||
implementation("com.google.android.material:material:1.3.0") // Совместимо с API 29
|
||||
implementation("androidx.constraintlayout:constraintlayout:2.0.4")
|
||||
implementation("androidx.fragment:fragment-ktx:1.2.5") // Совместимо с API 29
|
||||
implementation("androidx.cardview:cardview:1.0.0") // Совместимо с API 29
|
||||
implementation("androidx.activity:activity-ktx:1.1.0") // Совместимо с API 29
|
||||
|
||||
// СТАРЫЕ ViewModel версии для API 29
|
||||
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0") // Совместимо с API 29
|
||||
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.2.0") // Совместимо с API 29
|
||||
|
||||
// УБИРАЕМ СОВРЕМЕННЫЕ CAMERA БИБЛИОТЕКИ
|
||||
// Вместо CameraX используем старую Camera2 API напрямую
|
||||
|
||||
// Socket.IO и базовые сетевые библиотеки
|
||||
implementation("io.socket:socket.io-client:2.1.0")
|
||||
implementation("com.google.code.gson:gson:2.8.9") // Старая версия
|
||||
|
||||
// УБИРАЕМ WebRTC полностью для стабильности
|
||||
// implementation("io.getstream:stream-webrtc-android:1.0.4")
|
||||
|
||||
// Старые корутины
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2") // 2021 год
|
||||
|
||||
// Базовые зависимости - старые версии
|
||||
implementation("androidx.recyclerview:recyclerview:1.2.1") // 2021 год
|
||||
|
||||
// УБИРАЕМ Work Manager и Activity KTX
|
||||
// implementation("androidx.work:work-runtime-ktx:2.8.1")
|
||||
// implementation("androidx.activity:activity-ktx:1.7.2")
|
||||
|
||||
// Testing
|
||||
testImplementation("junit:junit:4.13.2")
|
||||
androidTestImplementation("androidx.test.ext:junit:1.1.3") // Старая версия
|
||||
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0") // Старая версия
|
||||
}
|
||||
Reference in New Issue
Block a user