plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'kotlin-android' id 'kotlin-kapt' id 'com.google.dagger.hilt.android' id 'org.jetbrains.kotlin.plugin.serialization' version '1.8.0' id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' } android { namespace 'com.isolaatti' compileSdk 33 viewBinding { enabled = true } defaultConfig { applicationId "com.isolaatti" minSdk 23 targetSdk 33 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = '17' } } dependencies { implementation 'androidx.core:core-ktx:1.10.1' implementation 'androidx.appcompat:appcompat:1.6.1' implementation "androidx.recyclerview:recyclerview:1.3.1" implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.core:core-ktx:1.10.1' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1' implementation 'com.google.code.gson:gson:2.10.1' implementation 'com.squareup.retrofit2:converter-gson:2.3.0' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' // Hilt implementation "com.google.dagger:hilt-android:2.47" kapt "com.google.dagger:hilt-compiler:2.47" // Retrofit implementation 'com.squareup.retrofit2:retrofit:2.9.0' // Material 3 implementation "com.google.android.material:material:1.9.0" // Navigation def nav_version = "2.6.0" 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 implementation "androidx.core:core-splashscreen:1.0.1" // Data security implementation "androidx.security:security-crypto:1.0.0" // Markwon final def markwon_version = '4.6.2' // Customtabs implementation 'androidx.browser:browser:1.5.0' implementation "io.noties.markwon:core:$markwon_version" implementation "io.noties.markwon:editor:$markwon_version" implementation "io.noties.markwon:image-picasso:$markwon_version" implementation "io.noties.markwon:linkify:$markwon_version" implementation ('io.socket:socket.io-client:2.1.0') { // excluding org.json which is provided by Android exclude group: 'org.json', module: 'json' } def room_version = "2.5.2" implementation "androidx.room:room-runtime:$room_version" annotationProcessor "androidx.room:room-compiler:$room_version" kapt("androidx.room:room-compiler:$room_version") implementation "androidx.room:room-ktx:2.5.2" }