-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (37 loc) · 950 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apply plugin: 'android-library'
sourceCompatibility = 1.6
version = '1.0'
android {
defaultConfig {
minSdkVersion 9
}
compileSdkVersion 25
buildToolsVersion "25.0.2"
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
}
}
repositories {
mavenCentral()
}
task clearJar(type: Delete) {
delete 'build/libs/deployd.jar'
}
task makeJar(type: Copy) {
from('build/intermediates/bundles/release/')
into('build/outputs/')
include('classes.jar')
rename ('classes.jar', 'deployd.jar')
}
makeJar.dependsOn(clearJar, build)
dependencies {
compile group: 'cz.msebera.android' , name: 'httpclient', version: '4.4.1.1'
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile group: 'org.skyscreamer', name: 'jsonassert', version: '1.2.3'
testCompile "org.mockito:mockito-core:1.10.19"
}