77 líneas
2.1 KiB
Groovy
77 líneas
2.1 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.chatrtc.app'
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "com.chatrtc.app"
|
|
minSdk 24
|
|
targetSdk 33
|
|
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_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
checkReleaseBuilds false
|
|
disable 'MissingClass'
|
|
}
|
|
}
|
|
|
|
configurations.all {
|
|
resolutionStrategy {
|
|
force 'org.jetbrains.kotlin:kotlin-stdlib:1.8.20'
|
|
force 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.20'
|
|
force 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'com.google.android.material:material:1.6.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.recyclerview:recyclerview:1.3.1'
|
|
|
|
// WebRTC - Using JitPack hosted Google WebRTC
|
|
implementation 'com.github.webrtc-sdk:android:104.5112.01'
|
|
|
|
// Socket.IO for signaling
|
|
implementation 'io.socket:socket.io-client:2.0.1'
|
|
|
|
// JSON parsing
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
|
|
// Permissions - using older versions compatible with Java 11
|
|
implementation 'androidx.activity:activity:1.6.1'
|
|
implementation 'androidx.fragment:fragment:1.5.5'
|
|
|
|
// Basic emoji support
|
|
implementation 'androidx.emoji2:emoji2:1.3.0'
|
|
implementation 'androidx.emoji2:emoji2-views-helper:1.3.0'
|
|
implementation 'androidx.emoji2:emoji2-bundled:1.3.0'
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
}
|