2
0

47 lines
1.4 KiB
Groovy
Raw Normal View History

2017-02-06 11:16:04 -05:00
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
2018-05-15 17:12:42 -04:00
buildToolsVersion '25.0.3'
2017-02-09 22:59:22 -05:00
compileOptions {
2018-05-15 17:12:42 -04:00
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
2017-02-09 22:59:22 -05:00
}
2017-02-06 11:16:04 -05:00
defaultConfig {
applicationId 'com.lyndir.masterpassword'
2017-02-06 11:16:04 -05:00
minSdkVersion 19
targetSdkVersion 25
2018-04-24 16:18:32 -04:00
versionCode 20501
versionName '2.5.1'
2018-05-15 17:12:42 -04:00
jackOptions.enabled true
2017-02-06 11:16:04 -05:00
}
2018-05-19 11:45:57 -04:00
// release with: STORE_PW=$(mpw masterpassword.keystore) KEY_PW_ANDROID=$(mpw masterpassword-android) gradle masterpassword-android:assembleRelease
2017-02-09 22:59:22 -05:00
signingConfigs {
2017-02-09 23:25:42 -05:00
release {
storeFile file( 'masterpassword.keystore' )
storePassword System.getenv( 'STORE_PW' )
2017-02-09 23:25:42 -05:00
keyAlias 'masterpassword-android'
2018-05-19 11:45:57 -04:00
keyPassword System.getenv( 'KEY_PW_ANDROID' )
2017-02-09 23:25:42 -05:00
}
}
buildTypes {
release {
2018-05-19 11:45:57 -04:00
if (System.getenv( 'KEY_PW_ANDROID' ) != null)
signingConfig signingConfigs.release
2017-02-09 22:59:22 -05:00
}
2017-02-06 11:16:04 -05:00
}
}
dependencies {
2018-04-26 13:05:45 -04:00
compile project( ':masterpassword-algorithm' )
compile project( ':masterpassword-tests' )
2017-02-09 00:48:07 -05:00
2018-04-26 13:05:45 -04:00
compile group: 'org.slf4j', name: 'slf4j-android', version: '1.7.13-underscore'
compile group: 'com.jakewharton', name: 'butterknife', version: '8.5.1'
annotationProcessor group: 'com.jakewharton', name: 'butterknife-compiler', version: '8.5.1'
2017-02-06 11:16:04 -05:00
}