Don't use + in gradle deps to make the build reproducible

20.0.+ equals 20.0.0 since there wasn't a 20.0.1
This commit is contained in:
Daniel Martí 2015-04-17 11:45:49 +02:00
parent a2e1ce0fe2
commit 3ed414cf96

View File

@ -16,9 +16,9 @@ if ( !hasProperty( 'sourceDeps' ) ) {
dependencies { dependencies {
compile 'com.android.support:support-v4:20.0.+', compile 'com.android.support:support-v4:20.0.0',
'com.android.support:appcompat-v7:20.0.+', 'com.android.support:appcompat-v7:20.0.0',
'com.android.support:support-annotations:20.0.+', 'com.android.support:support-annotations:20.0.0',
'org.thoughtcrime.ssl.pinning:AndroidPinning:1.0.0', 'org.thoughtcrime.ssl.pinning:AndroidPinning:1.0.0',
'com.nostra13.universalimageloader:universal-image-loader:1.9.3', 'com.nostra13.universalimageloader:universal-image-loader:1.9.3',
@ -80,9 +80,9 @@ if ( !hasProperty( 'sourceDeps' ) ) {
// then you can find the relevant portions of the ../build.gradle file that // then you can find the relevant portions of the ../build.gradle file that
// include magic required to make it work at around about the v0.78 git tag. // include magic required to make it work at around about the v0.78 git tag.
// They have since been removed to clean up the build file. // They have since been removed to clean up the build file.
compile 'com.android.support:support-v4:20.0.+', compile 'com.android.support:support-v4:20.0.0',
'com.android.support:appcompat-v7:20.0.+', 'com.android.support:appcompat-v7:20.0.0',
'com.android.support:support-annotations:20.0.+' 'com.android.support:support-annotations:20.0.0'
androidTestCompile 'commons-io:commons-io:2.2' androidTestCompile 'commons-io:commons-io:2.2'
} }