118 lines
3.7 KiB
Groovy
118 lines
3.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'com.google.gms.google-services'
|
|
|
|
// Apply the Crashlytics Gradle plugin
|
|
apply plugin: 'com.google.firebase.crashlytics'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
apply plugin: 'realm-android'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.3"
|
|
|
|
defaultConfig {
|
|
applicationId "com.tommasoberlose.anotherwidget"
|
|
minSdkVersion 23
|
|
targetSdkVersion 29
|
|
versionCode 40
|
|
versionName "2.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
}
|
|
packagingOptions {
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
}
|
|
dataBinding {
|
|
enabled = true
|
|
}
|
|
|
|
viewBinding.enabled = true
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'androidx.core:core-ktx:1.2.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
testImplementation 'junit:junit:4.13'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
|
// UI
|
|
implementation 'com.google.android.material:material:1.2.0-alpha06'
|
|
implementation 'androidx.browser:browser:1.2.0'
|
|
implementation 'net.idik:slimadapter:2.1.2'
|
|
|
|
// Lifecycle
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
|
|
// EventBus
|
|
implementation 'org.greenrobot:eventbus:3.1.1'
|
|
|
|
// Navigation
|
|
implementation 'androidx.navigation:navigation-fragment:2.3.0-alpha05'
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.2.2'
|
|
|
|
// Other
|
|
implementation 'androidx.multidex:multidex:2.0.1'
|
|
implementation 'joda-time:joda-time:2.9.9'
|
|
implementation "dev.sasikanth:colorsheet:1.0.1"
|
|
implementation 'com.andkulikov:transitionseverywhere:1.7.6'
|
|
implementation 'me.everything:providers-android:1.0.1'
|
|
|
|
//Weather
|
|
implementation 'com.github.KwabenBerko:OpenWeatherMap-Android-Library:2.0.2'
|
|
implementation 'com.google.android.gms:play-services-location:17.0.0'
|
|
|
|
// Billing
|
|
implementation 'com.android.billingclient:billing:2.2.0'
|
|
implementation 'com.android.billingclient:billing-ktx:2.2.0'
|
|
|
|
// KTX
|
|
implementation "androidx.core:core-ktx:1.2.0"
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.2.0"
|
|
|
|
// Recommended: Add the Firebase SDK for Google Analytics.
|
|
implementation 'com.google.firebase:firebase-analytics:17.4.0'
|
|
|
|
// Add the Firebase SDK for Crashlytics.
|
|
implementation 'com.google.firebase:firebase-crashlytics:17.0.0'
|
|
|
|
// Preferences
|
|
implementation 'com.chibatching.kotpref:kotpref:2.10.0'
|
|
implementation 'com.chibatching.kotpref:livedata-support:2.10.0'
|
|
implementation 'androidx.preference:preference-ktx:1.1.1'
|
|
|
|
// Permissions
|
|
implementation 'com.karumi:dexter:6.1.0'
|
|
|
|
// Billing
|
|
implementation 'com.android.billingclient:billing:2.2.0'
|
|
implementation 'com.android.billingclient:billing-ktx:2.2.0'
|
|
}
|