File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
src/main/groovy/org/quanqi/gradle/signing Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ apply plugin: 'signing'
44
55sourceCompatibility = 1.6
66group = ' org.quanqi'
7- version = " 0.1.4-SNAPSHOT "
7+ version = " 0.1.4"
88
99repositories {
1010 mavenCentral()
Original file line number Diff line number Diff line change @@ -29,23 +29,20 @@ class AndroidApplicationSigning implements Plugin<Project> {
2929 void apply (Project project ) {
3030 project. extensions. create(" key_store" , AndroidApplicationSigningExtension . class)
3131
32- if (project. hasProperty(" ${ project.key_store.store} " )) {
33-
34- }
35-
3632 if (! project. plugins. findPlugin(" com.android.application" ) && ! project. plugins. findPlugin(" android" )) {
3733 throw new ProjectConfigurationException (" The android plugin must be applied to the project" , null )
3834 }
3935
40- def keysXmlFile = null
36+ def keysXmlFile
4137 if (project. hasProperty(KEY_ANDROID_KEY_STORE_CONFIG )) {
4238 keysXmlFile = new File (KEY_ANDROID_KEY_STORE_CONFIG )
4339 } else {
4440 keysXmlFile = new File (System . getProperty(' user.home' ), ' .android_key_store.xml' )
4541 }
4642
4743 if (! keysXmlFile. exists()) {
48- println (" signing configration not" )
44+ println (" Signing config file not exist." )
45+ return
4946 }
5047
5148 def slurper = new XmlSlurper ();
You can’t perform that action at this time.
0 commit comments