Commit 3ca3d4d 1 parent 43183d4 commit 3ca3d4d Copy full SHA for 3ca3d4d
File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change
1
+ def versionMajor = 1 // incompatible API changes
2
+ def versionMinor = 3 // added functionality in a backwards-compatible manner
3
+ def versionPatch = 1 // backwards-compatible bug fixes
4
+ def versionBuild = 0 // bump for dogfood builds, public betas, etc.
5
+
6
+
1
7
buildscript {
2
8
repositories {
3
9
mavenCentral()
@@ -13,7 +19,7 @@ repositories {
13
19
mavenCentral()
14
20
maven {
15
21
url ' https://oss.sonatype.org/content/repositories/snapshots/'
16
- }
22
+ }
17
23
}
18
24
19
25
apply plugin : ' android'
@@ -27,12 +33,21 @@ android {
27
33
buildToolsVersion " 19.0.1"
28
34
29
35
defaultConfig {
36
+ versionCode versionMajor * 10000 + versionMinor * 1000 + versionPatch * 100 + versionBuild
37
+ versionName " ${ versionMajor} .${ versionMinor} .${ versionPatch} "
38
+
30
39
minSdkVersion 8
31
40
targetSdkVersion 19
32
41
}
33
42
lintOptions {
34
43
abortOnError false
35
44
}
45
+ sourceSets {
46
+ main {
47
+ manifest. srcFile ' AndroidManifest.xml'
48
+ }
49
+
50
+ }
36
51
}
37
52
38
53
dependencies {
You can’t perform that action at this time.
0 commit comments