mirror of
https://github.com/mollyim/monero-wallet-sdk.git
synced 2024-10-01 03:45:36 -04:00
92 lines
2.7 KiB
Groovy
92 lines
2.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
|
apply plugin: 'com.google.devtools.ksp'
|
|
|
|
ext {
|
|
composeVersion = '1.4.0-alpha04'
|
|
composeCompilerVersion = '1.4.0'
|
|
lifecycleVersion = '2.6.0-alpha04'
|
|
roomVersion = '2.5.0'
|
|
}
|
|
|
|
android {
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "im.molly.monero.demo"
|
|
minSdk 26
|
|
targetSdk 33
|
|
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.1.0-alpha04"
|
|
implementation "androidx.compose.ui:ui-tooling-preview:$composeVersion"
|
|
implementation "com.google.accompanist:accompanist-systemuicontroller:0.28.0"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:$lifecycleVersion"
|
|
implementation "androidx.lifecycle:lifecycle-runtime-compose:$lifecycleVersion"
|
|
implementation "androidx.activity:activity-compose:1.6.1"
|
|
|
|
implementation "androidx.room:room-runtime:$roomVersion"
|
|
implementation "androidx.room:room-ktx:$roomVersion"
|
|
implementation "androidx.navigation:navigation-runtime-ktx:2.5.3"
|
|
implementation "androidx.navigation:navigation-compose:2.5.3"
|
|
implementation 'androidx.lifecycle:lifecycle-service:2.5.1'
|
|
implementation 'androidx.lifecycle:lifecycle-process:2.5.1'
|
|
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"
|
|
}
|