Static verification of remote dependencies using Gradle Witness

https://github.com/WhisperSystems/gradle-witness
This commit is contained in:
str4d
2014-07-01 05:13:50 +00:00
parent bb177354f2
commit 87df2ff77c
3 changed files with 15 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
apply plugin: 'android'
apply plugin: 'witness'
android {
compileSdkVersion 19
@@ -22,8 +23,8 @@ android {
dependencies {
compile project(':botejars')
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:support-v4:19.+'
compile 'com.android.support:appcompat-v7:19.+'
compile 'com.android.support:support-v4:19.1.0'
compile 'com.android.support:appcompat-v7:19.1.0'
// TODO temporary fix for broken developer preview of Support Library
compile ('com.github.chrisbanes.actionbarpulltorefresh:extra-abc:+') {
exclude group: 'com.android.support', module: 'support-v4'
@@ -34,6 +35,17 @@ dependencies {
}
}
dependencyVerification {
verify = [
'com.android.support:support-v4:3f40fa7b3a4ead01ce15dce9453b061646e7fe2e7c51cb75ca01ee1e77037f3f',
'com.android.support:appcompat-v7:9df7637c5219202ddbbbf0924c2d5a9e6d64379166795a89d8f75d1e3f3372df',
'com.github.chrisbanes.actionbarpulltorefresh:extra-abc:a94f35b8b701d2cf761bb6b731d0921f73fb552a69a9c1d1379a19c2a9418ec6',
'com.github.chrisbanes.actionbarpulltorefresh:library:ea06f4e8cf7ae959cbe37028acf2631a6950714d2112e16531e4528daf69b6db',
'com.github.castorflex.smoothprogressbar:library:eb35b46d99a7f56d3d173cafe5f0f31beaaba0ce606258f81b07b0607ee3c32f',
'com.mcxiaoke.viewpagerindicator:library:1e8aad664137f68abdfee94889f6da3dc98be652a235176a403965a07a25de62',
]
}
def Properties props = new Properties()
def propFile = new File(project.rootDir, 'signing.properties')

View File

@@ -4,6 +4,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
classpath files('gradle/libs/gradle-witness.jar')
}
}

Binary file not shown.