67 lines
No EOL
2.5 KiB
Groovy
67 lines
No EOL
2.5 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
static def generateVersionName() {
|
|
def gitCount = "git rev-list HEAD --count".execute().text.trim()
|
|
// def gitBranch = "git branch".execute().text.trim()
|
|
// return gitCount.toInteger() + 831 + " " + gitBranch
|
|
return gitCount.toInteger() + 831
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 27
|
|
defaultConfig {
|
|
applicationId "com.tangem.wallet"
|
|
minSdkVersion 21
|
|
targetSdkVersion 27
|
|
versionCode 32
|
|
versionName "0.85.5." + generateVersionName()
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
debuggable false
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
debug {
|
|
debuggable true
|
|
minifyEnabled false
|
|
applicationIdSuffix ".debug"
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'com.android.support:appcompat-v7:27.1.1'
|
|
implementation 'com.android.support:design:27.1.1'
|
|
implementation 'com.android.support:support-compat:27.1.1'
|
|
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
|
|
implementation 'com.android.support:cardview-v7:27.1.1'
|
|
implementation 'com.android.support:support-v4:27.1.1'
|
|
implementation 'com.google.zxing:core:3.3.2'
|
|
implementation 'com.google.dagger:dagger:2.13'
|
|
annotationProcessor 'com.google.dagger:dagger-compiler:2.13'
|
|
implementation 'com.madgag.spongycastle:core:1.56.0.0'
|
|
implementation 'com.madgag.spongycastle:prov:1.56.0.0'
|
|
implementation 'com.scottyab:rootbeer-lib:0.0.6'
|
|
implementation 'com.skyfishjy.ripplebackground:library:1.0.1'
|
|
implementation 'org.bitcoinj:bitcoinj-parent:0.14.4'
|
|
implementation 'org.bitcoinj:bitcoinj-core:0.14.4'
|
|
implementation 'me.dm7.barcodescanner:zxing:1.9.8'
|
|
implementation 'info.hoang8f:android-segmented:1.0.6'
|
|
testImplementation 'junit:junit:4.12'
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
|
} |