1
0
Fork 0
mirror of https://github.com/MatomoCamp/matomocamp-companion-android.git synced 2024-09-19 16:13:46 +02:00
matomocamp-companion-android/app/build.gradle

90 lines
2.9 KiB
Groovy
Raw Normal View History

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "be.digitalia.fosdem"
minSdkVersion 17
targetSdkVersion 29
2020-01-29 12:30:55 +01:00
versionCode 1700201
versionName "2.0.1"
// Supported languages
resConfigs "en"
vectorDrawables.useSupportLibrary = true
javaCompileOptions {
annotationProcessorOptions {
arguments = ["room.incremental": "true"]
}
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles 'proguard-defaults.txt', 'proguard-rules.pro'
kotlinOptions {
freeCompilerArgs = [
'-Xno-param-assertions',
'-Xno-call-assertions',
'-Xno-receiver-assertions'
]
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
packagingOptions {
exclude 'kotlin/**'
exclude '**/*.kotlin_metadata'
exclude 'META-INF/*.kotlin_module'
exclude 'META-INF/*.version'
}
androidExtensions {
features = ["parcelize"]
}
}
dependencies {
def lifecycle_version = "2.2.0"
def room_version = "2.2.5"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.5'
implementation 'androidx.core:core-ktx:1.2.0'
implementation 'androidx.fragment:fragment-ktx:1.2.4'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.viewpager2:viewpager2:1.0.0'
implementation 'androidx.drawerlayout:drawerlayout:1.1.0-beta01'
2020-04-16 16:24:32 +02:00
implementation 'androidx.preference:preference-ktx:1.1.1'
implementation 'androidx.browser:browser:1.2.0'
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
implementation 'androidx.paging:paging-runtime-ktx:2.1.2'
implementation "androidx.room:room-ktx:$room_version"
kapt "androidx.room:room-compiler:$room_version"
implementation 'com.squareup.okhttp3:okhttp:3.12.10'
implementation 'com.squareup.okio:okio:2.5.0'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
}