Files

88 lines
3.1 KiB
Groovy
Raw Permalink Normal View History

2023-02-14 11:17:14 +08:00
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-parcelize'
id 'kotlin-kapt'
}
2020-10-20 17:11:34 +03:00
def keystoreProperties = new Properties()
2023-02-14 11:17:14 +08:00
def keystorePropertiesFile = rootProject.file('keystore.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
2020-10-20 17:11:34 +03:00
android {
2023-02-14 11:17:14 +08:00
namespace 'com.illusionware.npsbrowser'
compileSdkVersion 33
2020-10-20 17:11:34 +03:00
defaultConfig {
applicationId "com.illusionware.npsbrowser"
minSdkVersion 23
2023-02-14 11:17:14 +08:00
targetSdkVersion 33
2020-10-20 17:11:34 +03:00
versionCode 1
versionName "0.1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
2023-02-14 11:17:14 +08:00
buildFeatures {
dataBinding = true
viewBinding = true
2020-10-20 17:11:34 +03:00
}
signingConfigs {
release {
2023-02-14 11:17:14 +08:00
keyAlias keystoreProperties['keyAlias']
2020-10-20 17:11:34 +03:00
keyPassword keystoreProperties['keyPassword']
2023-02-14 11:17:14 +08:00
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
2020-10-20 17:11:34 +03:00
}
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
2023-02-14 11:17:14 +08:00
2020-10-20 17:11:34 +03:00
compileOptions {
2023-02-14 11:17:14 +08:00
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
2020-10-20 17:11:34 +03:00
}
2023-02-14 11:17:14 +08:00
buildToolsVersion '33.0.1'
2020-10-20 17:11:34 +03:00
}
2021-07-12 07:49:18 +03:00
repositories {
google()
mavenCentral()
}
2020-10-20 17:11:34 +03:00
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
2023-02-14 11:17:14 +08:00
implementation 'androidx.appcompat:appcompat:1.6.0'
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
implementation 'com.github.doyaaaaaken:kotlin-csv-jvm:1.8.0'
implementation 'com.github.wrdlbrnft:sorted-list-adapter:0.3.0.27'
2020-10-20 17:11:34 +03:00
implementation "androidx.cardview:cardview:1.0.0"
2023-02-14 11:17:14 +08:00
implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3'
implementation 'androidx.navigation:navigation-ui-ktx:2.5.3'
implementation 'androidx.preference:preference-ktx:1.2.0'
2020-10-20 17:11:34 +03:00
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
2023-02-14 11:17:14 +08:00
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
2020-10-20 17:11:34 +03:00
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2021-07-12 07:49:18 +03:00
implementation 'androidx.recyclerview:recyclerview:1.2.1'
testImplementation 'junit:junit:4.13.2'
2023-02-14 11:17:14 +08:00
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'com.github.bumptech.glide:glide:4.14.2'
annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2'
2021-07-12 07:49:18 +03:00
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
2020-10-20 17:11:34 +03:00
}