91 lines
No EOL
3.1 KiB
Groovy
91 lines
No EOL
3.1 KiB
Groovy
plugins {
|
|
id "com.android.application"
|
|
id "kotlin-android"
|
|
id "kotlin-kapt"
|
|
}
|
|
apply from: 'signing.config.gradle'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion "30.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "org.fnives.tiktokdownloader"
|
|
minSdkVersion 23
|
|
targetSdkVersion 30
|
|
versionCode 1
|
|
versionName "1.0.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
signingConfigs {
|
|
release {
|
|
keyAlias "$KEY_ALIAS"
|
|
keyPassword "$KEY_PASSWORD"
|
|
storeFile file("$KEYSTORE_FILE")
|
|
storePassword "$STORE_PASSWORD"
|
|
}
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
versionNameSuffix "-dev"
|
|
debuggable true
|
|
shrinkResources false
|
|
minifyEnabled false
|
|
}
|
|
release {
|
|
signingConfig signingConfigs.release
|
|
debuggable false
|
|
shrinkResources true
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
lintOptions {
|
|
abortOnError true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation "androidx.core:core-ktx:1.3.2"
|
|
implementation "androidx.appcompat:appcompat:1.2.0"
|
|
implementation "androidx.activity:activity-ktx:1.2.0-beta01"
|
|
implementation "androidx.fragment:fragment-ktx:1.3.0-beta01"
|
|
implementation "com.google.android.material:material:1.2.1"
|
|
implementation "androidx.constraintlayout:constraintlayout:2.0.4"
|
|
|
|
// Coroutines
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0-M1"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
|
|
implementation "androidx.fragment:fragment-ktx:1.2.5"
|
|
|
|
implementation "com.github.bumptech.glide:glide:4.11.0"
|
|
kapt "com.github.bumptech.glide:compiler:4.11.0"
|
|
|
|
implementation "com.squareup.retrofit2:retrofit:2.9.0"
|
|
implementation "com.squareup.okhttp3:logging-interceptor:4.7.2"
|
|
implementation 'com.pierfrancescosoffritti.androidyoutubeplayer:core:10.0.5'
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-engine:5.7.0"
|
|
testImplementation "org.junit.jupiter:junit-jupiter-params:5.7.0"
|
|
testImplementation 'com.jraska.livedata:testing-ktx:1.1.2'
|
|
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
|
|
testImplementation "com.squareup.okhttp3:mockwebserver:4.2.1"
|
|
testImplementation "commons-io:commons-io:2.8.0"
|
|
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.0-M1"
|
|
testImplementation "androidx.arch.core:core-testing:2.1.0"
|
|
|
|
androidTestImplementation "androidx.test.ext:junit:1.1.2"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0"
|
|
} |