]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/thrift/lib/java/android/build.gradle
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / jaegertracing / thrift / lib / java / android / build.gradle
1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20 apply plugin: 'com.android.library'
21
22 android {
23 compileSdkVersion 23
24 buildToolsVersion "23.0.1"
25 useLibrary 'org.apache.http.legacy'
26 sourceSets.main.java {
27 srcDir '../src'
28 exclude 'org/apache/thrift/transport/TSaslClientTransport.java'
29 exclude 'org/apache/thrift/transport/TSaslServerTransport.java'
30 exclude 'org/apache/thrift/transport/TSaslTransport.java'
31 }
32 }
33
34 repositories {
35 mavenCentral()
36 }
37 dependencies {
38 compile 'org.slf4j:slf4j-api:1.7.13'
39 compile 'javax.servlet:servlet-api:2.5'
40 compile 'org.apache.httpcomponents:httpcore:4.4.4'
41 }
42
43 buildscript {
44 repositories {
45 mavenCentral()
46 }
47 dependencies {
48 classpath 'com.android.tools.build:gradle:1.5.0'
49 }
50 }