61 lines
1.7 KiB
Groovy
61 lines
1.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
namespace "com.streamplayer"
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "com.streamplayer"
|
|
minSdk 21
|
|
targetSdk 33
|
|
versionCode 94400
|
|
versionName "9.4.4"
|
|
buildConfigField "String", "DEVICE_REGISTRY_URL", '"http://194.163.191.200:4000"'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
signingConfig signingConfigs.debug
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
lint {
|
|
checkReleaseBuilds = false
|
|
abortOnError = false
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig = true
|
|
}
|
|
|
|
packaging {
|
|
resources {
|
|
excludes += 'META-INF/com.android.tools/proguard/coroutines.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.recyclerview:recyclerview:1.3.2'
|
|
|
|
// ExoPlayer para reproducción de video
|
|
implementation 'com.google.android.exoplayer:exoplayer:2.18.7'
|
|
implementation 'com.google.android.exoplayer:extension-okhttp:2.18.7'
|
|
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
|
|
implementation 'com.squareup.okhttp3:okhttp-dnsoverhttps:4.12.0'
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
}
|