forked from hackedteam/core-android-market
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (47 loc) · 1.1 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 14
buildToolsVersion "19.1.0"
defaultConfig {
applicationId "org.benews"
minSdkVersion 8
targetSdkVersion 12
versionCode 8
versionName "1.7"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets { main { assets.srcDirs = ['src/main/assets'] } }
}
task buildSharedLib << {
println 'Building shared library'
exec {
executable "./build.sh"
}
}
task buildSharedLibRelease << {
buildSharedLib
}
task buildSharedLibDebug << {
buildSharedLib
}
project.afterEvaluate {
preDexDebug.dependsOn("buildSharedLib")
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:20.0.0'
compile 'com.android.support:support-v4:20.0.0'
}