-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
82 lines (71 loc) · 2.08 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
//classpath 'com.squareup.gradle:gradle-android-test-plugin:0.9.1-SNAPSHOT'
}
}
apply plugin: 'android'
//apply plugin: 'android-test'
android {
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
instrumentTest.setRoot('src/test')
}
lintOptions {
abortOnError false
}
compileSdkVersion 19
buildToolsVersion "20"
//testPackageName "com.bnotions.robolectricgradletest.test"
//testInstrumentationRunner "android.test.InstrumentationTestRunner"
signingConfigs {
myConfig {
storeFile file("/Users/chengdh/.keystore/openerp-mobile-app-key.keystore")
storePassword "yesnoyesno"
keyAlias "openerp-mobile"
keyPassword "yesnoyesno"
}
}
buildTypes {
release {
signingConfig signingConfigs.myConfig
}
}
}
repositories {
flatDir {
dirs 'libs'
}
mavenLocal()
mavenCentral()
}
dependencies {
compile('com.github.snowdream.android.app:updater:1.0@aar') {
exclude group: "com.android.support"
transitive = true
}
compile files(['libs/pull_swipe_library.jar'])
compile('com.android.support:appcompat-v7:19.0.0')
compile('com.android.support:support-v4:19.0.0')
//testCompile 'junit:junit:4.10'
//testCompile 'org.robolectric:robolectric:2.1.+'
//testCompile 'com.squareup:fest-android:1.0.+'
//instrumentTestCompile 'junit:junit:4.10'
//instrumentTestCompile 'org.robolectric:robolectric:2.3-SNAPSHOT'
//instrumentTestCompile 'com.squareup:fest-android:1.0.+'
}