mirror of
https://framagit.org/tom79/nitterizeme
synced 2024-12-12 08:47:03 +01:00
63 lines
2.0 KiB
Groovy
63 lines
2.0 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 30
|
|
buildToolsVersion "30.0.2"
|
|
defaultConfig {
|
|
minSdkVersion 15
|
|
targetSdkVersion 30
|
|
versionCode 23
|
|
versionName "1.14.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.2.0'
|
|
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
|
implementation 'com.google.android.material:material:1.2.1'
|
|
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.2'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
}
|