72 lines
2.7 KiB
Groovy
72 lines
2.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'witness'
|
|
|
|
android {
|
|
compileSdkVersion 21
|
|
buildToolsVersion '21.1.1'
|
|
defaultConfig {
|
|
versionCode 10
|
|
versionName '0.4'
|
|
minSdkVersion 9
|
|
targetSdkVersion 21
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
debug {
|
|
applicationIdSuffix '.debug'
|
|
versionNameSuffix '-DEBUG'
|
|
}
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
packagingOptions {
|
|
exclude 'LICENSE.txt'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// Local dependencies
|
|
compile project(':botejars')
|
|
compile fileTree(dir: 'libs', include: '*.jar')
|
|
|
|
// Android Support Repository dependencies
|
|
compile 'com.android.support:support-annotations:21.0.3'
|
|
compile 'com.android.support:support-v4:21.0.3'
|
|
compile 'com.android.support:appcompat-v7:21.0.3'
|
|
|
|
// Remote dependencies
|
|
compile 'net.i2p.android:client:0.4@aar'
|
|
compile 'net.i2p.android.ext:floatingactionbutton:1.4.0'
|
|
compile ('com.mcxiaoke.viewpagerindicator:library:2.4.1') {
|
|
exclude group: 'com.android.support', module: 'support-v4'
|
|
}
|
|
compile 'com.google.zxing:core:3.1.0'
|
|
compile 'com.google.zxing:android-integration:3.1.0'
|
|
compile 'com.androidplot:androidplot-core:0.6.1'
|
|
|
|
// Testing-only dependencies
|
|
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.0'
|
|
androidTestCompile 'com.android.support.test:testing-support-lib:0.1'
|
|
}
|
|
|
|
dependencyVerification {
|
|
verify = [
|
|
'com.android.support:support-annotations:fdee2354787ef66b268e75958de3f7f6c4f8f325510a6dac9f49c929f83a63de',
|
|
'com.android.support:support-v4:703572d3015a088cc5604b7e38885af3d307c829d0c5ceaf8654ff41c71cd160',
|
|
'com.android.support:appcompat-v7:5dbeb5316d0a6027d646ae552804c3baa5e3bd53f7f33db50904d51505c8a0e5',
|
|
'net.i2p.android:client:9176b5e32f74929856eeedf1dbe7e9f0a64fbb8a58a62b13f929c362353773d3',
|
|
'net.i2p.android.ext:floatingactionbutton:eaacad5753dd9ec4e04582e2c86c15cf782e88e0cb1dfe4a55f3798b84b68a13',
|
|
'com.mcxiaoke.viewpagerindicator:library:470bbd2bec1ede64ad21efd6f02676807d22f1b526c4ac6a5b41a428c6e47e67',
|
|
'com.google.zxing:core:f00b32f7a1b0edc914a8f74301e8dc34f189afc4698e9c8cc54e5d46772734a5',
|
|
'com.google.zxing:android-integration:89e56aadf1164bd71e57949163c53abf90af368b51669c0d4a47a163335f95c4',
|
|
'com.androidplot:androidplot-core:777b54dd98b8dedc5f3fcc95018eece1188f6c692dcbd5b7744af175e15d70bd',
|
|
]
|
|
}
|
|
|
|
apply from: "${project.rootDir}/gradle/signing.gradle" |