2020-01-25 10:25:02 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
2020-04-18 11:30:40 +02:00
|
|
|
buildToolsVersion "29.0.3"
|
2020-01-25 10:25:02 +01:00
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 15
|
|
|
|
targetSdkVersion 29
|
2020-05-04 17:32:20 +02:00
|
|
|
versionCode 17
|
|
|
|
versionName "1.9.1"
|
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
|
|
|
|
}
|
|
|
|
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-01-25 16:22:40 +01:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
2020-04-04 19:09:17 +02:00
|
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
2020-01-25 10:25:02 +01:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
2020-02-17 18:04:43 +01:00
|
|
|
implementation 'com.google.android.material:material:1.1.0'
|
2020-04-04 19:09:17 +02:00
|
|
|
implementation 'org.jsoup:jsoup:1.13.1'
|
2020-01-25 10:25:02 +01:00
|
|
|
testImplementation 'junit:junit:4.12'
|
2020-01-25 16:22:40 +01:00
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
2020-01-25 10:25:02 +01:00
|
|
|
}
|