73 lines
2.2 KiB
Groovy
73 lines
2.2 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
|
|
}
|
|
|
|
android {
|
|
compileSdk 31
|
|
buildToolsVersion "33.0.0-rc1"
|
|
defaultConfig {
|
|
applicationId "org.joinmastodon.android"
|
|
minSdk 23
|
|
targetSdk 31
|
|
versionCode 12
|
|
versionName "0.1"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
debug{
|
|
debuggable true
|
|
}
|
|
appcenterPrivateBeta{
|
|
initWith release
|
|
minifyEnabled false
|
|
versionNameSuffix "-priv-beta"
|
|
}
|
|
appcenterPublicBeta{
|
|
initWith release
|
|
versionNameSuffix "-beta"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_15
|
|
targetCompatibility JavaVersion.VERSION_15
|
|
coreLibraryDesugaringEnabled true
|
|
}
|
|
sourceSets{
|
|
appcenterPrivateBeta{
|
|
setRoot "src/appcenter"
|
|
}
|
|
appcenterPublicBeta{
|
|
setRoot "src/appcenter"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api 'androidx.annotation:annotation:1.3.0'
|
|
implementation 'com.squareup.okhttp3:okhttp:3.14.9'
|
|
implementation 'me.grishka.litex:recyclerview:1.2.1.1'
|
|
implementation 'me.grishka.litex:swiperefreshlayout:1.1.0.1'
|
|
implementation 'me.grishka.litex:browser:1.4.0'
|
|
implementation 'me.grishka.litex:dynamicanimation:1.1.0-alpha03'
|
|
implementation 'me.grishka.litex:viewpager:1.0.0'
|
|
implementation 'me.grishka.litex:viewpager2:1.0.0'
|
|
implementation 'me.grishka.appkit:appkit:1.2'
|
|
implementation 'com.google.code.gson:gson:2.8.9'
|
|
implementation 'org.jsoup:jsoup:1.14.3'
|
|
implementation 'com.squareup:otto:1.3.8'
|
|
implementation 'de.psdev:async-otto:1.0.3'
|
|
implementation 'org.parceler:parceler-api:1.1.12'
|
|
annotationProcessor 'org.parceler:parceler:1.1.12'
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
|
|
|
def appCenterSdkVersion = "4.4.2"
|
|
appcenterPrivateBetaImplementation "com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}"
|
|
appcenterPrivateBetaImplementation "com.microsoft.appcenter:appcenter-distribute:${appCenterSdkVersion}"
|
|
appcenterPublicBetaImplementation "com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}"
|
|
appcenterPublicBetaImplementation "com.microsoft.appcenter:appcenter-distribute:${appCenterSdkVersion}"
|
|
} |