71 lines
No EOL
2.2 KiB
Groovy
71 lines
No EOL
2.2 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'com.github.dcendents.android-maven'
|
|
apply from: '../dependencies.gradle'
|
|
apply from: '../jitpack.gradle'
|
|
|
|
group = "$jitpackSdk.group"
|
|
version "$jitpackSdk.version"
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion "29.0.3"
|
|
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
targetSdkVersion 29
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
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'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// internal
|
|
implementation project(':tangem-core')
|
|
|
|
// kotlin
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$versions.kotlin"
|
|
implementation "org.jetbrains.kotlin:kotlin-reflect:$versions.kotlin"
|
|
|
|
// coroutines
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7'
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.3.7"
|
|
|
|
// android
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation 'com.google.android.material:material:1.1.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
implementation 'androidx.core:core-ktx:1.3.0'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
implementation "androidx.lifecycle:lifecycle-runtime:2.2.0"
|
|
implementation "androidx.lifecycle:lifecycle-common-java8:2.2.0"
|
|
|
|
// misc
|
|
implementation 'com.skyfishjy.ripplebackground:library:1.0.1'
|
|
implementation 'at.favre.lib:armadillo:0.9.0'
|
|
implementation "com.squareup.sqldelight:android-driver:1.4.0"
|
|
|
|
// testing
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'androidx.test:runner:1.2.0'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
} |