File tree Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ buildscript {
4
4
}
5
5
6
6
dependencies {
7
- classpath ' com.android.tools.build:gradle:0.6 .+'
7
+ classpath ' com.android.tools.build:gradle:0.7 .+'
8
8
}
9
9
}
10
10
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ apply plugin: 'android-library'
3
3
android {
4
4
compileSdkVersion 19
5
5
buildToolsVersion ' 19.0.0'
6
+
7
+ lintOptions {
8
+ abortOnError false
9
+ }
6
10
}
7
11
8
12
android. libraryVariants. all { variant ->
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if (isReleaseBuild()) {
15
15
println ' DEBUG BUILD'
16
16
sonatypeRepositoryUrl = " https://oss.sonatype.org/content/repositories/snapshots/"
17
17
}
18
-
18
+ if (isReleaseBuild()){
19
19
if (ext. properties. containsKey(' signing.keyId' ) && ! ext. properties. containsKey(' signing.password' )) {
20
20
if (System . console())
21
21
ext. set(' signing.password' , System . console(). readPassword(" \n\$ Type in GPG key password: " ))
@@ -98,3 +98,4 @@ afterEvaluate { project ->
98
98
archives androidJavadocsJar
99
99
}
100
100
}
101
+ }
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ buildscript {
3
3
mavenCentral()
4
4
}
5
5
dependencies {
6
- classpath ' com.android.tools.build:gradle:0.6 .+'
6
+ classpath ' com.android.tools.build:gradle:0.7 .+'
7
7
}
8
8
}
9
9
apply plugin : ' android'
@@ -23,6 +23,16 @@ android {
23
23
minSdkVersion 3
24
24
targetSdkVersion 19
25
25
}
26
+
27
+ lintOptions {
28
+ abortOnError false
29
+ }
30
+
31
+ packagingOptions {
32
+ exclude ' META-INF/DEPENDENCIES'
33
+ exclude ' META-INF/LICENSE'
34
+ exclude ' META-INF/NOTICE'
35
+ }
26
36
}
27
37
28
38
dependencies {
You can’t perform that action at this time.
0 commit comments