build.gradle revision cf3e1e789e876b017034ac7f3c7f87be7dced857
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott * The contents of this file are subject to the terms of the Common Development and
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott * Distribution License (the License). You may not use this file except in compliance with the
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott * specific language governing permission and limitations under the License.
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott * When distributing Covered Software, include this CDDL Header Notice in each file and include
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott * Header, with the fields enclosed by brackets [] replaced by your own identifying
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott * information: "Portions copyright [year] [name of copyright owner]".
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott * Copyright 2016 ForgeRock AS.
76e306183bb8c3935c091a558690edc310edbd70Tom Rumsey testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken Stubbings proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
ef28ad515cc0858ccbfba09e17a844052ed79356Tom Rumsey // Workaround for compile issue with Robolectric, which should be fixed in 3.1
ef28ad515cc0858ccbfba09e17a844052ed79356Tom Rumsey // https://github.com/robolectric/robolectric/issues/1862
76e306183bb8c3935c091a558690edc310edbd70Tom Rumsey androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2') {
76e306183bb8c3935c091a558690edc310edbd70Tom Rumsey androidTestCompile 'com.squareup.spoon:spoon-client:1.5.0'
76e306183bb8c3935c091a558690edc310edbd70Tom Rumsey androidTestCompile 'com.jraska:falcon-spoon-compat:1.0.1'
55f1b0b17df3287fab644f68b9418905e26842daRobert Wapshott // Gson for Serialisation
55f1b0b17df3287fab644f68b9418905e26842daRobert Wapshott // ZXing for QR Code library
55f1b0b17df3287fab644f68b9418905e26842daRobert Wapshott // For image management
55f1b0b17df3287fab644f68b9418905e26842daRobert Wapshott // GCM Notifications
4ae3c3faf53b9b7f0c4e8375d0a3cdf3846ef6c0Ken Stubbings compile 'com.google.android.gms:play-services-gcm:8.4.0'
4ae3c3faf53b9b7f0c4e8375d0a3cdf3846ef6c0Ken Stubbings compile 'com.android.support:appcompat-v7:23.2.0'
9e257788c96e27128e1ac9f7de72256f0da6b0fdKen Stubbings compile 'com.android.support:support-v4:23.2.0'
55f1b0b17df3287fab644f68b9418905e26842daRobert Wapshott // Logging framework
f3fa3b65e8ebafc90b1044cf522ee35213299c42Tom Rumsey compile 'org.forgerock.commons:json-web-token:3.0.3'
ef28ad515cc0858ccbfba09e17a844052ed79356Tom Rumseytask generateCoverage(type: JacocoReport, dependsOn: 'testDebugUnitTest') {
ef28ad515cc0858ccbfba09e17a844052ed79356Tom Rumsey classDirectories = fileTree('build/intermediates/classes/debug') {
ef28ad515cc0858ccbfba09e17a844052ed79356Tom Rumsey exclude 'android', 'com/google', '**/R$*.class', '**/R.class', '**/BuildConfig.class'