57 lines
1.7 KiB
Groovy

plugins {
id 'com.android.application'
}
android {
namespace 'com.scar.chat'
compileSdk 34
defaultConfig {
applicationId "com.scar.chat"
minSdk 24
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
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
// Activity and Fragment support with result contracts
implementation 'androidx.activity:activity:1.8.1'
implementation 'androidx.fragment:fragment:1.6.2'
// CameraX for modern camera support
implementation 'androidx.camera:camera-core:1.3.0'
implementation 'androidx.camera:camera-camera2:1.3.0'
implementation 'androidx.camera:camera-lifecycle:1.3.0'
implementation 'androidx.camera:camera-view:1.3.0'
implementation 'androidx.lifecycle:lifecycle-runtime:2.6.2'
// SSL/TLS for networking
implementation 'org.bouncycastle:bcprov-jdk15on:1.70'
// Testing
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}