1
0
mirror of https://framagit.org/tom79/nitterizeme synced 2024-12-12 00:45:43 +01:00
UntrackMe-app-android-redir.../app/build.gradle
2020-05-30 19:21:25 +02:00

62 lines
1.9 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
minSdkVersion 15
targetSdkVersion 29
versionCode 20
versionName "1.11.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
lintOptions {
disable 'MissingTranslation'
checkReleaseBuilds false
abortOnError false
}
productFlavors {
fullLinks {
applicationId "app.fedilab.nitterizeme"
buildConfigField "boolean", "fullLinks", "true"
flavorDimensions "default"
}
lite {
applicationId "app.fedilab.nitterizemelite"
buildConfigField "boolean", "fullLinks", "false"
flavorDimensions "default"
}
}
sourceSets {
lite {
manifest.srcFile "src/main/AndroidManifest.xml"
}
fullLinks {
manifest.srcFile "src/fullLinks/AndroidManifest.xml"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.preference:preference:1.1.1'
implementation 'org.jsoup:jsoup:1.13.1'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}