/** * Copyright 2015 Thomas Andersen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ apply plugin: 'com.android.application' android { compileSdkVersion 22 buildToolsVersion "22.0.1" defaultConfig { applicationId "dk.botunge.hapifhirandroidsample" minSdkVersion 19 targetSdkVersion 22 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/NOTICE.txt' } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:cardview-v7:21.0.+' compile 'com.android.support:recyclerview-v7:21.0.+' compile group:'org.apache.httpcomponents', name:'httpclient-android', version:'4.3.5' compile 'org.slf4j:slf4j-api:1.7.12' compile 'org.slf4j:slf4j-android:1.7.12' compile 'commons-io:commons-io:2.4' compile 'org.apache.commons:commons-lang3:3.3.2' provided 'org.glassfish:javax.annotation:10.0-b28' //dont want staxt-api and other junk, add using @jar compile 'ca.uhn.hapi.fhir:hapi-fhir-android:1.3:dstu2@jar' }