plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'kotlin-android' id 'kotlin-kapt' } android { compileSdk 33 defaultConfig { applicationId "com.kaiwolfram.nozzle" minSdk 23 targetSdk 33 versionCode 5 versionName "v0.3.0-alpha" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { useSupportLibrary true } kapt { arguments { arg("room.schemaLocation", "$projectDir/schemas") } } signingConfig signingConfigs.debug } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { coreLibraryDesugaringEnabled = true sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' } buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion '1.3.2' } packagingOptions { resources { excludes += '/META-INF/{AL2.0,LGPL2.1}' } } } dependencies { implementation 'androidx.core:core-ktx:1.9.0' implementation "androidx.compose.ui:ui:$compose_version" implementation "androidx.compose.material:material:$compose_version" implementation "androidx.compose.ui:ui-tooling-preview:$compose_version" implementation "androidx.compose.material:material-icons-extended:$compose_version" implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1' implementation 'androidx.activity:activity-compose:1.6.1' implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'androidx.security:security-crypto-ktx:1.1.0-alpha03' implementation 'androidx.core:core-ktx:1.9.0' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version" debugImplementation "androidx.compose.ui:ui-tooling:$compose_version" debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version" // Nostr implementation project(path: ':nostr-client-kt') // Kotlin implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlin_version}" implementation "org.jetbrains.kotlin:kotlin-reflect:${kotlin_version}" // Desugaring coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' // Navigation implementation 'androidx.navigation:navigation-compose:2.5.3' // Images and GIFs implementation("io.coil-kt:coil-compose:2.2.2") implementation("io.coil-kt:coil-gif:2.2.2") // Swipe refresh implementation "com.google.accompanist:accompanist-swiperefresh:$accompanist_version" // WTF?! implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava' // Room implementation("androidx.room:room-runtime:$room_version") annotationProcessor("androidx.room:room-compiler:$room_version") // To use Kotlin annotation processing tool (kapt) kapt("androidx.room:room-compiler:$room_version") // Kotlin Extensions and Coroutines support for Room implementation("androidx.room:room-ktx:$room_version") // secp256k1 implementation("fr.acinq.secp256k1:secp256k1-kmp-jni-android:0.7.0") // JSON implementation("com.google.code.gson:gson:2.10") }