isolaatti-android/app/build.gradle

128 lines
4.0 KiB
Groovy
Raw Permalink Normal View History

2023-02-06 13:44:27 -06:00
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
2023-07-27 22:49:06 -06:00
id 'kotlin-android'
2023-02-06 13:44:27 -06:00
id 'kotlin-kapt'
id 'com.google.dagger.hilt.android'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.8.0'
2023-07-15 20:58:57 -06:00
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
2023-07-31 00:25:25 -06:00
id 'androidx.navigation.safeargs.kotlin'
2023-02-06 13:44:27 -06:00
}
android {
namespace 'com.isolaatti'
compileSdk 34
2023-02-06 13:44:27 -06:00
viewBinding {
enabled = true
}
defaultConfig {
applicationId "com.isolaatti"
2023-09-09 16:09:22 -06:00
minSdk 24
2024-01-14 12:18:29 -06:00
targetSdk 34
2023-02-06 13:44:27 -06:00
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
2023-07-31 00:25:25 -06:00
coreLibraryDesugaringEnabled true
2023-07-27 22:49:06 -06:00
sourceCompatibility JavaVersion.VERSION_17
2023-07-09 13:12:04 -06:00
targetCompatibility JavaVersion.VERSION_17
2023-02-06 13:44:27 -06:00
}
kotlinOptions {
2023-07-09 13:12:04 -06:00
jvmTarget = '17'
2023-02-06 13:44:27 -06:00
}
}
dependencies {
2023-07-31 00:25:25 -06:00
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
2023-02-06 13:44:27 -06:00
2023-07-08 02:17:19 -06:00
implementation 'androidx.core:core-ktx:1.10.1'
2023-07-08 17:11:55 -06:00
implementation 'androidx.appcompat:appcompat:1.6.1'
2023-07-27 22:49:06 -06:00
implementation "androidx.recyclerview:recyclerview:1.3.1"
2023-02-06 13:44:27 -06:00
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
2023-07-08 17:11:55 -06:00
implementation 'androidx.core:core-ktx:1.10.1'
2023-02-06 13:44:27 -06:00
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2023-07-08 17:11:55 -06:00
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1'
2023-02-06 13:44:27 -06:00
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
2023-12-11 23:10:57 -06:00
implementation "androidx.preference:preference-ktx:1.2.1"
2023-02-06 13:44:27 -06:00
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
// Hilt
2023-07-27 22:49:06 -06:00
implementation "com.google.dagger:hilt-android:2.47"
kapt "com.google.dagger:hilt-compiler:2.47"
2023-02-06 13:44:27 -06:00
// Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
// Material 3
2023-07-08 17:11:55 -06:00
implementation "com.google.android.material:material:1.9.0"
2023-02-06 13:44:27 -06:00
// Navigation
2023-07-08 02:17:19 -06:00
def nav_version = "2.6.0"
2023-02-06 13:44:27 -06:00
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
implementation "androidx.navigation:navigation-dynamic-features-fragment:$nav_version"
androidTestImplementation "androidx.navigation:navigation-testing:$nav_version"
// Splash screen
2023-07-08 17:11:55 -06:00
implementation "androidx.core:core-splashscreen:1.0.1"
2023-02-06 13:44:27 -06:00
// Data security
implementation "androidx.security:security-crypto:1.0.0"
2023-02-11 23:41:23 -06:00
// Markwon
final def markwon_version = '4.6.2'
2023-07-08 02:17:19 -06:00
// Customtabs
2024-01-27 01:25:42 -06:00
implementation 'androidx.browser:browser:1.7.0'
2023-07-08 02:17:19 -06:00
implementation 'io.coil-kt:coil:2.5.0'
implementation 'io.coil-kt:coil-svg:2.5.0'
2023-02-11 23:41:23 -06:00
implementation "io.noties.markwon:core:$markwon_version"
implementation "io.noties.markwon:editor:$markwon_version"
implementation "io.noties.markwon:linkify:$markwon_version"
implementation "io.noties.markwon:image-coil:$markwon_version"
2023-07-15 20:58:57 -06:00
implementation ('io.socket:socket.io-client:2.1.0') {
// excluding org.json which is provided by Android
exclude group: 'org.json', module: 'json'
}
2023-12-11 23:10:57 -06:00
// Room Database
2023-07-15 20:58:57 -06:00
def room_version = "2.5.2"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
2023-07-27 22:49:06 -06:00
kapt("androidx.room:room-compiler:$room_version")
implementation "androidx.room:room-ktx:2.5.2"
2023-08-20 16:11:07 -06:00
2023-12-11 23:10:57 -06:00
// Image viewer
2023-08-20 16:11:07 -06:00
implementation 'com.github.MikeOrtiz:TouchImageView:3.5'
2023-12-11 23:10:57 -06:00
// Media 3
implementation 'androidx.media3:media3-session:1.2.0'
implementation 'androidx.media3:media3-exoplayer:1.2.0'
implementation "androidx.media3:media3-ui:1.2.0"
2024-01-13 23:12:31 -06:00
// QR
implementation 'com.github.androidmads:QRGenerator:1.0.1'
2023-02-06 13:44:27 -06:00
}