Changeset View
Changeset View
Standalone View
Standalone View
build.gradle
buildscript { | buildscript { | ||||
repositories { | repositories { | ||||
jcenter() | jcenter() | ||||
maven { url 'https://maven.google.com' } | maven { url 'https://maven.google.com' } | ||||
google() | google() | ||||
} | } | ||||
ext { | ext { | ||||
androidXTestVersion = "1.4.0" | |||||
//multidex | //multidex | ||||
multidex_version = "2.0.1" | multidex_version = "2.0.1" | ||||
//libraries versions | //libraries versions | ||||
fragment_version = "1.4.1" | fragment_version = "1.4.1" | ||||
activity_version = "1.4.0" | activity_version = "1.4.0" | ||||
appcompat_version = "1.4.1" | appcompat_version = "1.4.1" | ||||
preference_version = "1.2.0" | preference_version = "1.2.0" | ||||
work_version = "2.7.1" | work_version = "2.7.1" | ||||
Show All 34 Lines | android { | ||||
defaultConfig { | defaultConfig { | ||||
applicationId "it.reyboz.bustorino" | applicationId "it.reyboz.bustorino" | ||||
minSdkVersion 16 | minSdkVersion 16 | ||||
targetSdkVersion 31 | targetSdkVersion 31 | ||||
versionCode 39 | versionCode 39 | ||||
versionName "1.16.3" | versionName "1.16.3" | ||||
vectorDrawables.useSupportLibrary = true | vectorDrawables.useSupportLibrary = true | ||||
multiDexEnabled true | multiDexEnabled true | ||||
javaCompileOptions { | |||||
annotationProcessorOptions { | |||||
arguments = ["room.schemaLocation": "$projectDir/assets/schemas/".toString()] | |||||
} | |||||
} | |||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | |||||
} | } | ||||
compileOptions { | compileOptions { | ||||
sourceCompatibility JavaVersion.VERSION_1_8 | sourceCompatibility JavaVersion.VERSION_1_8 | ||||
targetCompatibility JavaVersion.VERSION_1_8 | targetCompatibility JavaVersion.VERSION_1_8 | ||||
} | } | ||||
sourceSets { | sourceSets { | ||||
androidTest.assets.srcDirs += files("$projectDir/assets/schemas/".toString()) | |||||
main { | main { | ||||
manifest.srcFile 'AndroidManifest.xml' | manifest.srcFile 'AndroidManifest.xml' | ||||
java.srcDirs = ['src'] | java.srcDirs = ['src'] | ||||
resources.srcDirs = ['src'] | resources.srcDirs = ['src'] | ||||
aidl.srcDirs = ['src'] | aidl.srcDirs = ['src'] | ||||
renderscript.srcDirs = ['src'] | renderscript.srcDirs = ['src'] | ||||
res.srcDirs = ['res'] | res.srcDirs = ['res'] | ||||
assets.srcDirs = ['assets'] | assets.srcDirs = ['assets'] | ||||
▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | dependencies { | ||||
// LiveData | // LiveData | ||||
implementation "androidx.lifecycle:lifecycle-livedata:$lifecycle_version" | implementation "androidx.lifecycle:lifecycle-livedata:$lifecycle_version" | ||||
// Lifecycles only (without ViewModel or LiveData) | // Lifecycles only (without ViewModel or LiveData) | ||||
implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version" | implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version" | ||||
// Room components | // Room components | ||||
implementation "androidx.room:room-ktx:$room_version" | implementation "androidx.room:room-ktx:$room_version" | ||||
kapt "androidx.room:room-compiler:$room_version" | kapt "androidx.room:room-compiler:$room_version" | ||||
androidTestImplementation "androidx.room:room-testing:$room_version" | |||||
//multidex - we need this to build the app | //multidex - we need this to build the app | ||||
implementation "androidx.multidex:multidex:$multidex_version" | implementation "androidx.multidex:multidex:$multidex_version" | ||||
implementation 'de.siegmar:fastcsv:2.0.0' | implementation 'de.siegmar:fastcsv:2.0.0' | ||||
testImplementation 'junit:junit:4.12' | |||||
implementation 'junit:junit:4.12' | |||||
implementation "androidx.test.ext:junit:1.1.3" | |||||
implementation "androidx.test:core:$androidXTestVersion" | |||||
implementation "androidx.test:runner:$androidXTestVersion" | |||||
implementation "androidx.room:room-testing:$room_version" | |||||
androidTestImplementation "androidx.test.ext:junit:1.1.3" | |||||
androidTestImplementation "androidx.test:core:$androidXTestVersion" | |||||
androidTestImplementation "androidx.test:runner:$androidXTestVersion" | |||||
androidTestImplementation "androidx.test:rules:$androidXTestVersion" | |||||
androidTestImplementation "androidx.room:room-testing:$room_version" | |||||
} | } | ||||
} | } | ||||
dependencies { | dependencies { | ||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | ||||
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" | api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" | ||||
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" | api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" | ||||
} | } |
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register