-
-
Save andreikastsiuk/4bed3cbdcd9e9b1ed3eba04c3826e2ef to your computer and use it in GitHub Desktop.
Revisions
-
Naveentp revised this gist
Nov 25, 2018 . 1 changed file with 0 additions and 27 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,27 +0,0 @@ -
Naveentp revised this gist
Nov 25, 2018 . 2 changed files with 27 additions and 29 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,32 +1,3 @@ /* * Automates generation of Release APK * ./gradlew assembleRelease This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ /* Module level build.gradle */ android { defaultConfig { ... flavorDimensions "default" } signingConfigs { release } buildTypes { release { ... signingConfig signingConfigs.release } /* * To let gradle automate signing process, lintOptions to be added * */ lintOptions { checkReleaseBuilds false abortOnError false } } -
Naveentp revised this gist
Nov 24, 2018 . 1 changed file with 13 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,25 @@ /* Module level build.gradle */ android { defaultConfig { ... flavorDimensions "default" } signingConfigs { release } buildTypes { release { ... signingConfig signingConfigs.release } /* * To let gradle automate signing process, lintOptions to be added * */ lintOptions { checkReleaseBuilds false abortOnError false -
Naveentp revised this gist
Nov 24, 2018 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,7 @@ android { signingConfig signingConfigs.release } /* To let gradle automate signing process, lintOptions to be added */ lintOptions { checkReleaseBuilds false abortOnError false -
Naveentp revised this gist
Nov 24, 2018 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,11 @@ android { ... signingConfig signingConfigs.release } lintOptions { checkReleaseBuilds false abortOnError false } } -
Naveentp revised this gist
Nov 24, 2018 . 1 changed file with 11 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,14 @@ /* Module level build.gradle */ android { buildTypes { release { ... signingConfig signingConfigs.release } } /* * Automates generation of Release APK * ./gradlew assembleRelease -
Naveentp revised this gist
Nov 24, 2018 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,8 @@ def userHome = Paths.get(System.getProperty('user.home')); def propFile = file(userHome.resolve('PATH_TO_SIGNING_CONFIG_PROPERTIES_FILE.properties')) if (propFile.canRead()) { props.load(new FileInputStream(propFile)) if (props != null && props.containsKey('STORE_FILE') && props.containsKey('KEY_STORE_PASSWORD') && props.containsKey('KEY_ALIAS') && props.containsKey('KEY_PASSWORD')) { android.signingConfigs.release.storeFile = file(props['STORE_FILE']) android.signingConfigs.release.storePassword = props['KEY_STORE_PASSWORD'] android.signingConfigs.release.keyAlias = props['KEY_ALIAS'] -
Naveentp created this gist
Nov 24, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ /* * Automates generation of Release APK * ./gradlew assembleRelease * */ Properties props = new Properties() def userHome = Paths.get(System.getProperty('user.home')); def propFile = file(userHome.resolve('PATH_TO_SIGNING_CONFIG_PROPERTIES_FILE.properties')) if (propFile.canRead()) { props.load(new FileInputStream(propFile)) if (props != null && props.containsKey('STORE_FILE') && props.containsKey('KEY_ALIAS') && props.containsKey('PASSWORD')) { android.signingConfigs.release.storeFile = file(props['STORE_FILE']) android.signingConfigs.release.storePassword = props['KEY_STORE_PASSWORD'] android.signingConfigs.release.keyAlias = props['KEY_ALIAS'] android.signingConfigs.release.keyPassword = props['KEY_PASSWORD'] } else { println 'signing.properties found but some entries are missing' android.buildTypes.release.signingConfig = null } } else { println 'signing.properties not found' android.buildTypes.release.signingConfig = null }