mirror of
https://github.com/mollyim/monero-wallet-sdk.git
synced 2024-12-25 23:49:28 -05:00
95 lines
2.8 KiB
Groovy
95 lines
2.8 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
|
apply plugin: 'com.google.devtools.ksp'
|
|
|
|
ext {
|
|
composeVersion = '1.6.0-alpha08'
|
|
composeCompilerVersion = '1.5.3'
|
|
lifecycleVersion = '2.6.2'
|
|
roomVersion = '2.6.0'
|
|
}
|
|
|
|
android {
|
|
namespace = "im.molly.monero.demo"
|
|
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
applicationId "im.molly.monero.demo"
|
|
minSdk 26
|
|
targetSdk 34
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
|
|
ksp {
|
|
arg("room.schemaLocation", "$projectDir/schemas")
|
|
}
|
|
}
|
|
|
|
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'
|
|
}
|
|
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion composeCompilerVersion
|
|
}
|
|
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "androidx.core:core-ktx:1.9.0"
|
|
implementation "androidx.compose.ui:ui:$composeVersion"
|
|
implementation "androidx.compose.material3:material3:1.2.0-alpha10"
|
|
implementation "androidx.compose.ui:ui-tooling-preview:$composeVersion"
|
|
implementation "com.google.accompanist:accompanist-systemuicontroller:0.32.0"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleVersion"
|
|
implementation "androidx.lifecycle:lifecycle-runtime-compose:$lifecycleVersion"
|
|
implementation "androidx.activity:activity-compose:1.8.0"
|
|
implementation "androidx.datastore:datastore-preferences:1.0.0"
|
|
|
|
implementation "androidx.room:room-runtime:$roomVersion"
|
|
implementation "androidx.room:room-ktx:$roomVersion"
|
|
implementation "androidx.navigation:navigation-runtime-ktx:2.7.4"
|
|
implementation "androidx.navigation:navigation-compose:2.7.4"
|
|
implementation 'androidx.lifecycle:lifecycle-service:2.6.2'
|
|
implementation 'androidx.lifecycle:lifecycle-process:2.6.2'
|
|
ksp "androidx.room:room-compiler:$roomVersion"
|
|
|
|
implementation project(':lib')
|
|
|
|
testImplementation "junit:junit:4.13.2"
|
|
|
|
androidTestImplementation "androidx.test.ext:junit:1.1.5"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:3.5.1"
|
|
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$composeVersion"
|
|
|
|
debugImplementation "androidx.compose.ui:ui-tooling:$composeVersion"
|
|
debugImplementation "androidx.compose.ui:ui-test-manifest:$composeVersion"
|
|
}
|