2021-09-24 20:07:39 +03:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'kotlin-android'
|
2021-09-25 16:28:37 +03:00
|
|
|
id 'androidx.navigation.safeargs.kotlin'
|
2021-09-24 20:07:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdk 31
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.tarkvaraprojekt.mobileauthapp"
|
|
|
|
minSdk 26
|
|
|
|
targetSdk 31
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2021-09-25 16:28:37 +03:00
|
|
|
buildFeatures {
|
|
|
|
viewBinding true
|
|
|
|
}
|
2021-09-24 20:07:39 +03:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-09-26 14:42:38 +03:00
|
|
|
def lifecycle_version = "2.3.1"
|
2021-09-24 20:07:39 +03:00
|
|
|
implementation 'androidx.core:core-ktx:1.6.0'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
|
|
|
implementation 'com.google.android.material:material:1.4.0'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
|
2021-09-25 16:28:37 +03:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2021-09-24 20:07:39 +03:00
|
|
|
testImplementation 'junit:junit:4.+'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
2021-09-25 16:28:37 +03:00
|
|
|
|
2021-09-26 14:42:38 +03:00
|
|
|
//To use activityViewModels
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
|
2021-09-25 16:28:37 +03:00
|
|
|
//For navigation component
|
|
|
|
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
|
|
|
|
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
2021-09-26 14:42:38 +03:00
|
|
|
|
|
|
|
//ViewModel
|
|
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
|
2021-10-04 23:50:14 +03:00
|
|
|
|
|
|
|
//For cryptography
|
|
|
|
implementation group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.69'
|
|
|
|
|
2021-09-24 20:07:39 +03:00
|
|
|
}
|