mirror of
https://github.com/Michatec/Radio.git
synced 2026-01-30 23:17:21 +00:00
70 lines
2.2 KiB
Groovy
70 lines
2.2 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-parcelize'
|
|
|
|
android {
|
|
namespace 'com.michatec.radio'
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
applicationId 'com.michatec.radio'
|
|
minSdk 28
|
|
//noinspection OldTargetApi
|
|
targetSdk 35
|
|
versionCode 130
|
|
versionName '13'
|
|
resourceConfigurations += ['en', 'de', 'el', 'nl', 'pl', 'ru','uk', 'ja', 'da', 'fr']
|
|
setProperty('archivesBaseName', 'Radio')
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig true
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled false
|
|
shrinkResources false
|
|
crunchPngs false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
applicationIdSuffix = ".debug"
|
|
}
|
|
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
crunchPngs true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
// Google Stuff //
|
|
implementation 'com.google.android.material:material:1.13.0'
|
|
implementation 'com.google.code.gson:gson:2.13.2'
|
|
|
|
// AndroidX Stuff //
|
|
implementation 'androidx.activity:activity-ktx:1.12.2'
|
|
implementation 'androidx.palette:palette-ktx:1.0.0'
|
|
implementation 'androidx.preference:preference-ktx:1.2.1'
|
|
implementation 'androidx.media:media:1.7.1'
|
|
implementation 'androidx.media3:media3-exoplayer:1.9.0'
|
|
implementation 'androidx.media3:media3-exoplayer-hls:1.7.1'
|
|
implementation 'androidx.media3:media3-session:1.9.0'
|
|
implementation 'androidx.media3:media3-datasource-okhttp:1.7.1'
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.9.6'
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.9.6'
|
|
implementation 'androidx.work:work-runtime-ktx:2.11.0'
|
|
|
|
// Volley HTTP request //
|
|
implementation 'com.android.volley:volley:1.2.1'
|
|
}
|