2020-01-25 10:25:02 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2020-08-30 17:01:26 +02:00
|
|
|
compileSdkVersion 30
|
|
|
|
buildToolsVersion "30.0.2"
|
2020-01-25 10:25:02 +01:00
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 15
|
2020-08-30 17:01:26 +02:00
|
|
|
targetSdkVersion 30
|
2020-12-12 18:12:53 +01:00
|
|
|
versionCode 28
|
|
|
|
versionName "1.17.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 {
|
|
|
|
viewBinding = true
|
|
|
|
}
|
|
|
|
|
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'])
|
2020-08-30 17:01:26 +02:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
2020-04-04 19:09:17 +02:00
|
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
2020-12-01 11:40:20 +01:00
|
|
|
//Don't upgrade until there is a fix with barrier in recycler view
|
2020-12-12 17:39:49 +01:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
2020-09-09 18:37:30 +02:00
|
|
|
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'
|
2020-08-30 17:01:26 +02:00
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.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
|
|
|
}
|