This allows us to get the media onClick directly from the AoDParser. Media inforamtion are now only stored in the parsers mediaList.
71 lines
2.6 KiB
Groovy
71 lines
2.6 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion "30.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "org.mosad.teapod"
|
|
minSdkVersion 23
|
|
targetSdkVersion 30
|
|
versionCode 1
|
|
versionName "0.1-alpha3"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
resValue "string", "build_time", buildTime()
|
|
setProperty("archivesBaseName", "teapod-$versionName")
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled 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'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
|
|
|
|
implementation 'androidx.core:core-ktx:1.3.2'
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.0'
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.3.0'
|
|
implementation 'androidx.security:security-crypto:1.1.0-alpha02'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
implementation 'com.google.android.material:material:1.3.0-alpha03'
|
|
implementation 'com.google.code.gson:gson:2.8.6'
|
|
implementation 'com.google.android.exoplayer:exoplayer-core:2.12.0'
|
|
implementation 'com.google.android.exoplayer:exoplayer-hls:2.12.0'
|
|
implementation 'com.google.android.exoplayer:exoplayer-dash:2.12.0'
|
|
implementation 'com.google.android.exoplayer:exoplayer-ui:2.12.0'
|
|
|
|
implementation 'org.jsoup:jsoup:1.13.1'
|
|
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
|
implementation 'jp.wasabeef:glide-transformations:4.3.0'
|
|
implementation 'com.afollestad.material-dialogs:core:3.3.0'
|
|
implementation 'com.afollestad.material-dialogs:bottomsheets:3.3.0'
|
|
implementation 'de.psdev.licensesdialog:licensesdialog:2.1.0'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
|
|
}
|
|
|
|
static def buildTime() {
|
|
return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC"))
|
|
} |