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

68 lines
2.1 KiB
Groovy
Raw Normal View History

2020-01-25 10:25:02 +01:00
apply plugin: 'com.android.application'
android {
2020-08-30 17:01:26 +02:00
compileSdkVersion 30
2021-06-11 18:44:00 +02:00
buildToolsVersion "30.0.3"
2020-01-25 10:25:02 +01:00
defaultConfig {
minSdkVersion 15
2020-08-30 17:01:26 +02:00
targetSdkVersion 30
2022-07-03 09:22:36 +02:00
versionCode 33
versionName "1.30.0"
2020-01-25 10:25:02 +01:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
2020-02-29 11:09:34 +01:00
lintOptions {
disable 'MissingTranslation'
2020-05-04 11:33:58 +02:00
checkReleaseBuilds false
abortOnError false
}
2020-12-01 10:29:24 +01:00
buildFeatures {
2021-10-25 12:14:43 +02:00
viewBinding true
2020-12-01 10:29:24 +01:00
}
2020-05-04 11:33:58 +02:00
productFlavors {
2020-05-04 17:27:41 +02:00
fullLinks {
2020-05-04 11:33:58 +02:00
applicationId "app.fedilab.nitterizeme"
2020-05-04 17:27:41 +02:00
buildConfigField "boolean", "fullLinks", "true"
flavorDimensions "default"
2020-05-04 11:33:58 +02:00
}
lite {
applicationId "app.fedilab.nitterizemelite"
2020-05-04 17:27:41 +02:00
buildConfigField "boolean", "fullLinks", "false"
flavorDimensions "default"
}
}
sourceSets {
lite {
manifest.srcFile "src/main/AndroidManifest.xml"
}
fullLinks {
manifest.srcFile "src/fullLinks/AndroidManifest.xml"
2020-05-04 11:33:58 +02:00
}
2020-02-29 11:09:34 +01:00
}
2020-01-25 10:25:02 +01:00
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'])
2021-10-25 12:14:43 +02:00
implementation 'androidx.appcompat:appcompat:1.3.1'
2020-04-04 19:09:17 +02:00
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
//Don't upgrade until there is a fix with barrier in recycler view
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation 'com.google.android.material:material:1.2.1'
2020-05-30 11:07:50 +02:00
implementation 'androidx.preference:preference:1.1.1'
2020-04-04 19:09:17 +02:00
implementation 'org.jsoup:jsoup:1.13.1'
2020-12-12 17:39:49 +01:00
testImplementation 'junit:junit:4.13.1'
2021-10-25 12:14:43 +02:00
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
2020-08-31 19:00:17 +02:00
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
2020-01-25 10:25:02 +01:00
}