2017-02-06 16:16:04 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 25
|
|
|
|
buildToolsVersion "25.0.0"
|
2017-02-10 03:59:22 +00:00
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
2017-02-06 16:16:04 +00:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.lyndir.masterpassword"
|
|
|
|
minSdkVersion 19
|
|
|
|
targetSdkVersion 25
|
2017-02-10 03:54:20 +00:00
|
|
|
versionCode 20401
|
|
|
|
versionName "2.4.1"
|
2017-02-06 16:16:04 +00:00
|
|
|
}
|
2017-02-10 04:31:22 +00:00
|
|
|
// release with: STORE_PW=$(mpw masterpassword.keystore) KEY_PW=$(mpw masterpassword-android) gradle assembleRelease
|
2017-02-10 03:59:22 +00:00
|
|
|
signingConfigs {
|
2017-02-10 04:25:42 +00:00
|
|
|
release {
|
|
|
|
storeFile file('masterpassword.keystore')
|
|
|
|
storePassword System.getenv('STORE_PW')
|
|
|
|
|
|
|
|
keyAlias 'masterpassword-android'
|
|
|
|
keyPassword System.getenv('KEY_PW')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2017-03-06 19:52:52 +00:00
|
|
|
if (System.getenv('STORE_PW') != null)
|
|
|
|
signingConfig signingConfigs.release
|
2017-02-10 03:59:22 +00:00
|
|
|
}
|
2017-02-06 16:16:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-03-06 19:52:52 +00:00
|
|
|
compile project( ':masterpassword:algorithm' )
|
|
|
|
compile project( ':masterpassword:tests' )
|
2017-02-09 05:48:07 +00:00
|
|
|
|
|
|
|
// Android dependencies
|
2017-02-06 16:16:04 +00:00
|
|
|
compile 'org.slf4j:slf4j-android:1.7.13-underscore'
|
2017-02-09 05:48:07 +00:00
|
|
|
compile 'com.jakewharton:butterknife:8.5.1'
|
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
|
|
|
|
compile files('libs/scrypt-1.4.0-native.jar')
|
2017-02-06 16:16:04 +00:00
|
|
|
}
|