UntrackMe-app-android-redir.../app/build.gradle

61 lines
1.9 KiB
Groovy

apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
minSdkVersion 15
targetSdkVersion 29
versionCode 16
versionName "1.9.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 'org.jsoup:jsoup:1.13.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}