annotate app/build.gradle @ 439:50d28338ae6e

bump version
author Carl Byington <carl@five-ten-sg.com>
date Thu, 03 Dec 2015 11:30:10 -0800
parents d29cce60f393
children 1e3789de6900
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
438
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 tasks.whenTaskAdded { task ->
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 if (task.name.contains("lint")) {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3 task.enabled = false
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 apply plugin: 'com.android.model.application'
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 model {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
10 def signConf
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 android {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13 compileSdkVersion = 16
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 buildToolsVersion = "23.0.2"
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16 defaultConfig.with {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17 applicationId = "com.five_ten_sg.connectbot"
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
18 minSdkVersion.apiLevel = 8
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
19 targetSdkVersion.apiLevel = 15
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
20 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
21 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
22
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
23 compileOptions.with {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
24 sourceCompatibility = JavaVersion.VERSION_1_7
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
25 targetCompatibility = JavaVersion.VERSION_1_7
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
26 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
27
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
28 android.ndk {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
29 moduleName = "com_google_ase_Exec"
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
30 cppFlags.add("-Werror")
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
31 ldLibs.add("log")
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
32 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
33
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
34 android.sources {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
35 main {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
36 jni {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
37 source {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
38 srcDir "Exec"
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
39 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
40 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
41 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
42 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
43
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
44 android.signingConfigs {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
45 create("signed") {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
46 storeFile = file("../510Connectbot.keystore")
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
47 storePassword = new String(System.console().readPassword("\n\$ Enter keystore password: "))
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
48 storeType = "jks"
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
49 keyAlias = "510Connectbot"
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
50 keyPassword = new String(System.console().readPassword("\n\$ Enter key password: "))
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
51 signConf = it
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
52 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
53 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
54
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
55 android.buildTypes {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
56 release {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
57 minifyEnabled = false
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
58 signingConfig = signConf
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
59 //proguardFiles.add(file('proguard-rules.txt'))
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
60 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
61 debug {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
62 debuggable = true
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
63 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
64 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
65
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
66 android.productFlavors {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
67 create("arm") {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
68 ndk.abiFilters.add("armeabi")
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
69 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
70 create("x86") {
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
71 ndk.abiFilters.add("x86")
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
72 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
73 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
74
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
75 }