Changeset View
Changeset View
Standalone View
Standalone View
app/build.gradle
- This file was copied from build.gradle.
buildscript { | |||||
repositories { | |||||
jcenter() | |||||
maven { url 'https://maven.google.com' } | |||||
google() | |||||
} | |||||
ext { | |||||
androidXTestVersion = "1.4.0" | |||||
//multidex | |||||
multidex_version = "2.0.1" | |||||
//libraries versions | |||||
fragment_version = "1.4.1" | |||||
activity_version = "1.4.0" | |||||
appcompat_version = "1.4.1" | |||||
preference_version = "1.2.0" | |||||
work_version = "2.7.1" | |||||
acra_version = "5.7.0" | |||||
lifecycle_version = "2.4.1" | |||||
arch_version = "2.1.0" | |||||
room_version = "2.4.1" | |||||
//kotlin | |||||
kotlin_version = '1.6.0' | |||||
coroutines_version = "1.5.0" | |||||
} | |||||
dependencies { | |||||
classpath 'com.android.tools.build:gradle:4.2.2' | |||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21" | |||||
} | |||||
} | |||||
allprojects { | |||||
repositories { | |||||
jcenter() | |||||
maven { url 'https://maven.google.com' } | |||||
google() | |||||
mavenCentral() | |||||
} | |||||
} | |||||
apply plugin: 'com.android.application' | apply plugin: 'com.android.application' | ||||
apply plugin: 'kotlin-android' | apply plugin: 'kotlin-android' | ||||
apply plugin: 'kotlin-kapt' | apply plugin: 'kotlin-kapt' | ||||
android { | android { | ||||
compileSdkVersion 31 | compileSdkVersion 33 | ||||
buildToolsVersion '30.0.3' | buildToolsVersion '33.0.2' | ||||
defaultConfig { | defaultConfig { | ||||
applicationId "it.reyboz.bustorino" | applicationId "it.reyboz.bustorino" | ||||
minSdkVersion 16 | minSdkVersion 16 | ||||
targetSdkVersion 31 | targetSdkVersion 33 | ||||
versionCode 46 | versionCode 46 | ||||
versionName "1.18.4" | versionName "1.18.4" | ||||
vectorDrawables.useSupportLibrary = true | vectorDrawables.useSupportLibrary = true | ||||
multiDexEnabled true | multiDexEnabled true | ||||
javaCompileOptions { | javaCompileOptions { | ||||
annotationProcessorOptions { | annotationProcessorOptions { | ||||
arguments = ["room.schemaLocation": "$projectDir/assets/schemas/".toString()] | arguments = ["room.schemaLocation": "$projectDir/assets/schemas/".toString()] | ||||
} | } | ||||
Show All 26 Lines | buildTypes { | ||||
} | } | ||||
} | } | ||||
lintOptions { | lintOptions { | ||||
abortOnError false | abortOnError false | ||||
} | } | ||||
repositories { | repositories { | ||||
jcenter() | mavenCentral() | ||||
mavenLocal() | mavenLocal() | ||||
} | } | ||||
dependencies { | dependencies { | ||||
//new libraries | //new libraries | ||||
} | |||||
} | |||||
dependencies { | |||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | |||||
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" | |||||
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" | |||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0' | |||||
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1' | |||||
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1' | |||||
implementation "androidx.fragment:fragment-ktx:$fragment_version" | implementation "androidx.fragment:fragment-ktx:$fragment_version" | ||||
implementation "androidx.activity:activity:$activity_version" | implementation "androidx.activity:activity:$activity_version" | ||||
implementation "androidx.annotation:annotation:1.3.0" | implementation "androidx.annotation:annotation:1.3.0" | ||||
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" | implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" | ||||
implementation "androidx.appcompat:appcompat:$appcompat_version" | implementation "androidx.appcompat:appcompat:$appcompat_version" | ||||
implementation "androidx.appcompat:appcompat-resources:$appcompat_version" | implementation "androidx.appcompat:appcompat-resources:$appcompat_version" | ||||
implementation "androidx.preference:preference:$preference_version" | implementation "androidx.preference:preference:$preference_version" | ||||
implementation "androidx.work:work-runtime:$work_version" | implementation "androidx.work:work-runtime:$work_version" | ||||
Show All 39 Lines | implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1' | ||||
implementation "androidx.room:room-testing:$room_version" | implementation "androidx.room:room-testing:$room_version" | ||||
androidTestImplementation "androidx.test.ext:junit:1.1.3" | androidTestImplementation "androidx.test.ext:junit:1.1.3" | ||||
androidTestImplementation "androidx.test:core:$androidXTestVersion" | androidTestImplementation "androidx.test:core:$androidXTestVersion" | ||||
androidTestImplementation "androidx.test:runner:$androidXTestVersion" | androidTestImplementation "androidx.test:runner:$androidXTestVersion" | ||||
androidTestImplementation "androidx.test:rules:$androidXTestVersion" | androidTestImplementation "androidx.test:rules:$androidXTestVersion" | ||||
androidTestImplementation "androidx.room:room-testing:$room_version" | androidTestImplementation "androidx.room:room-testing:$room_version" | ||||
} | |||||
} | |||||
dependencies { | |||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" | |||||
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" | |||||
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" | |||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0' | |||||
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1' | |||||
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1' | |||||
} | } |
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