blob: 04ade8a9cb6a6ce790b3d8ae124015c91f0c609a (
plain)
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
|
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.4'
}
}
apply plugin: 'android'
dependencies {
}
android {
compileSdkVersion 17
buildToolsVersion "17"
defaultConfig {
minSdkVersion 15
targetSdkVersion 17
}
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('tests')
}
signingConfigs {
release {
storeFile file("/Users/arne/software/android.keystore")
storePassword "$System.env.ICSOPENVPNSIGNPW"
keyAlias "singkey"
keyPassword "$System.env.ICSOPENVPNSIGNPW"
}
}
}
//http://stackoverflow.com/questions/16683775/include-so-library-in-apk-in-android-studio
tasks.withType(com.android.build.gradle.tasks.PackageApplication) { pkgTask ->
pkgTask.jniDir new File(buildDir, 'native-libs')
}
clean.dependsOn 'cleanCopyNativeLibs'
|