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 { | ||||
//multidex | //multidex | ||||
multidex_version = "2.0.1" | multidex_version = "2.0.1" | ||||
//libraries versions | //libraries versions | ||||
fragment_version = "1.3.6" | fragment_version = "1.4.1" | ||||
activity_version = "1.3.1" | activity_version = "1.4.0" | ||||
appcompat_version = "1.3.1" | appcompat_version = "1.4.1" | ||||
preference_version = "1.1.1" | preference_version = "1.2.0" | ||||
work_version = "2.5.0" | work_version = "2.7.1" | ||||
acra_version = "5.7.0" | acra_version = "5.7.0" | ||||
lifecycle_version = "2.3.1" | lifecycle_version = "2.4.1" | ||||
arch_version = "2.1.0" | arch_version = "2.1.0" | ||||
room_version = "2.3.0" | room_version = "2.4.1" | ||||
//kotlin | //kotlin | ||||
kotlin_version = '1.6.0' | kotlin_version = '1.6.0' | ||||
coroutines_version = "1.5.0" | coroutines_version = "1.5.0" | ||||
} | } | ||||
dependencies { | dependencies { | ||||
classpath 'com.android.tools.build:gradle:4.1.3' | classpath 'com.android.tools.build:gradle:4.2.2' | ||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||||
} | } | ||||
} | } | ||||
allprojects { | allprojects { | ||||
repositories { | repositories { | ||||
jcenter() | jcenter() | ||||
maven { url 'https://maven.google.com' } | maven { url 'https://maven.google.com' } | ||||
google() | google() | ||||
mavenCentral() | 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 30 | compileSdkVersion 31 | ||||
buildToolsVersion '30.0.3' | buildToolsVersion '30.0.3' | ||||
defaultConfig { | defaultConfig { | ||||
applicationId "it.reyboz.bustorino" | applicationId "it.reyboz.bustorino" | ||||
minSdkVersion 16 | minSdkVersion 16 | ||||
targetSdkVersion 30 | targetSdkVersion 31 | ||||
versionCode 38 | versionCode 38 | ||||
versionName "1.16.2" | versionName "1.16.2" | ||||
vectorDrawables.useSupportLibrary = true | vectorDrawables.useSupportLibrary = true | ||||
multiDexEnabled true | multiDexEnabled true | ||||
} | } | ||||
compileOptions { | compileOptions { | ||||
sourceCompatibility JavaVersion.VERSION_1_8 | sourceCompatibility JavaVersion.VERSION_1_8 | ||||
Show All 26 Lines | repositories { | ||||
jcenter() | jcenter() | ||||
mavenLocal() | mavenLocal() | ||||
} | } | ||||
dependencies { | dependencies { | ||||
//new libraries | //new libraries | ||||
implementation "androidx.fragment:fragment:$fragment_version" | implementation "androidx.fragment:fragment:$fragment_version" | ||||
implementation "androidx.activity:activity:$activity_version" | implementation "androidx.activity:activity:$activity_version" | ||||
implementation "androidx.annotation:annotation:1.2.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" | ||||
implementation "com.google.android.material:material:1.4.0" | implementation "com.google.android.material:material:1.5.0" | ||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.1' | implementation 'androidx.constraintlayout:constraintlayout:2.1.3' | ||||
implementation "androidx.coordinatorlayout:coordinatorlayout:1.1.0" | implementation "androidx.coordinatorlayout:coordinatorlayout:1.2.0" | ||||
implementation 'org.jsoup:jsoup:1.13.1' | implementation 'org.jsoup:jsoup:1.13.1' | ||||
implementation 'com.readystatesoftware.sqliteasset:sqliteassethelper:2.0.1' | implementation 'com.readystatesoftware.sqliteasset:sqliteassethelper:2.0.1' | ||||
implementation 'com.android.volley:volley:1.2.1' | implementation 'com.android.volley:volley:1.2.1' | ||||
implementation 'org.osmdroid:osmdroid-android:6.1.10' | implementation 'org.osmdroid:osmdroid-android:6.1.10' | ||||
// ACRA | // ACRA | ||||
implementation "ch.acra:acra-mail:$acra_version" | implementation "ch.acra:acra-mail:$acra_version" | ||||
implementation "ch.acra:acra-dialog:$acra_version" | implementation "ch.acra:acra-dialog:$acra_version" | ||||
// google transit realtime | // google transit realtime | ||||
implementation 'com.google.protobuf:protobuf-java:3.14.0' | implementation 'com.google.protobuf:protobuf-java:3.14.0' | ||||
// ViewModel | // ViewModel | ||||
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version" | implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" | ||||
// 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" | ||||
Show All 15 Lines |
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