plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'kotlin-android' } def composeVersion = "1.2.0-beta03" android { compileSdk 33 defaultConfig { applicationId "com.owenlejeune.mydex" minSdk 24 targetSdk 33 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { useSupportLibrary true } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' useIR = true } buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion composeVersion } packagingOptions { resources { excludes += '/META-INF/{AL2.0,LGPL2.1}' } } } dependencies { // ktx def ktx_core = "1.8.0" def ktx_paging = "3.1.1" implementation "androidx.core:core-ktx:$ktx_core" implementation "androidx.paging:paging-common-ktx:$ktx_paging" // android x def androidx = "1.0.0" implementation "androidx.window:window:$androidx" implementation "androidx.palette:palette:$androidx" // material def material = "1.6.1" implementation "com.google.android.material:material:$material" // compose def compose = composeVersion def compose_material3 = "1.0.0-alpha13" def compose_accompanist = "0.24.10-beta" def compose_navigation = "2.4.2" def compose_paging = "1.0.0-alpha16" def compose_constraint_layout = "1.0.1" def compose_activity = "1.4.0" implementation "androidx.compose.ui:ui:$compose" implementation "androidx.compose.material3:material3:$compose_material3" implementation "androidx.compose.material:material:$compose" implementation "androidx.compose.material:material-icons-extended:$compose" implementation "androidx.compose.ui:ui-tooling-preview:$compose" implementation "androidx.activity:activity-compose:$compose_activity" implementation "com.google.accompanist:accompanist-systemuicontroller:$compose_accompanist" implementation "com.google.accompanist:accompanist-pager:$compose_accompanist" // implementation "com.google.accompanist:accompanist-pager-indicators:$compose_accompanist" implementation "com.google.accompanist:accompanist-flowlayout:$compose_accompanist" // implementation "com.google.accompanist:accompanist-insets:$compose_accompanist" implementation "androidx.navigation:navigation-compose:$compose_navigation" implementation "androidx.paging:paging-compose:$compose_paging" // implementation "androidx.constraintlayout:constraintlayout-compose:$compose_constraint_layout" // material you def monet_compat = "0.4.1" implementation "com.github.KieronQuinn:MonetCompat:$monet_compat" // lifecycle def lifecycle_runtime = "2.4.1" implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_runtime" // retrofit def retrofit = "2.9.0" def stetho = "1.6.0" def gson = "2.9.0" implementation "com.squareup.retrofit2:retrofit:$retrofit" implementation "com.squareup.retrofit2:converter-gson:$retrofit" implementation "com.google.code.gson:gson:$gson" implementation "com.facebook.stetho:stetho:$stetho" implementation "com.facebook.stetho:stetho-okhttp3:$stetho" // koin def koin = "3.1.4" implementation "io.insert-koin:koin-android:$koin" // coil def coil = "2.0.0-rc01" implementation "io.coil-kt:coil-compose:$coil" //Coroutines def coroutines = "1.6.1" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines" // testing def junit = "4.13.2" def androidx_junit = "1.1.3" def espresso_core = "3.4.0" testImplementation "junit:junit:$junit" androidTestImplementation "androidx.test.ext:junit:$androidx_junit" androidTestImplementation "androidx.test.espresso:espresso-core:$espresso_core" androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose" debugImplementation "androidx.compose.ui:ui-tooling:$compose" }