Nobuaki Sukegawa | ca93936 | 2015-11-14 00:23:40 +0900 | [diff] [blame] | 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 { |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 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 | } |
Nobuaki Sukegawa | ca93936 | 2015-11-14 00:23:40 +0900 | [diff] [blame] | 32 | } |
| 33 | |
| 34 | repositories { |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 35 | mavenCentral() |
Nobuaki Sukegawa | ca93936 | 2015-11-14 00:23:40 +0900 | [diff] [blame] | 36 | } |
| 37 | dependencies { |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 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' |
Nobuaki Sukegawa | ca93936 | 2015-11-14 00:23:40 +0900 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | buildscript { |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 44 | repositories { |
| 45 | mavenCentral() |
| 46 | } |
| 47 | dependencies { |
| 48 | classpath 'com.android.tools.build:gradle:1.5.0' |
| 49 | } |
Nobuaki Sukegawa | ca93936 | 2015-11-14 00:23:40 +0900 | [diff] [blame] | 50 | } |