50 lines
1.9 KiB
Groovy
50 lines
1.9 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
applicationId "cy.agorise.bitsybitshareswallet"
|
|
minSdkVersion 21
|
|
targetSdkVersion 28
|
|
versionCode 1
|
|
versionName "0.1"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
def lifecycle_version = "2.0.0"
|
|
def room_version = "2.1.0-alpha02"
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation project(':graphenejlib:graphenej')
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'androidx.appcompat:appcompat:1.0.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'com.google.zxing:core:3.3.1'
|
|
implementation 'me.dm7.barcodescanner:zxing:1.9.8'
|
|
|
|
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
|
|
kapt "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
|
|
|
|
implementation "androidx.room:room-runtime:$room_version"
|
|
kapt "androidx.room:room-compiler:$room_version"
|
|
|
|
// TODO enable and make proper testing
|
|
// testImplementation 'junit:junit:4.12'
|
|
// testImplementation "androidx.arch.core:core-testing:$lifecycle_version"
|
|
// testImplementation "androidx.room:room-testing:$room_version"
|
|
// androidTestImplementation 'androidx.test:runner:1.1.0'
|
|
// androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
|
|
}
|