Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Commit

Permalink
Add simple keystore to sign the automated apk
Browse files Browse the repository at this point in the history
  • Loading branch information
jahirfiquitiva committed Feb 7, 2018
1 parent 9eb3c47 commit 142758b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 10 deletions.
17 changes: 13 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

apply plugin: 'com.android.application'
apply from: '../dependencies.gradle'

android {
signingConfigs {
release {
keyAlias 'fabsmenu'
keyPassword 'fabsmenu'
storeFile file('fabsmenu.jks')
storePassword 'fabsmenu'
}
}

compileSdkVersion versions.compileSdk
buildToolsVersion versions.buildTools

Expand All @@ -28,8 +35,9 @@ android {
}

lintOptions {
disable 'MissingTranslation'
disable 'GoogleAppIndexingWarning'
abortOnError false
checkReleaseBuilds false
disable 'MissingTranslation', 'GoogleAppIndexingWarning'
}

defaultConfig {
Expand All @@ -45,6 +53,7 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
}
Expand Down
Binary file added app/fabsmenu.jks
Binary file not shown.
18 changes: 12 additions & 6 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,25 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply from: '../dependencies.gradle'

android {
compileSdkVersion versions.compileSdk
buildToolsVersion versions.buildTools

lintOptions {
disable 'MissingTranslation'
disable 'GoogleAppIndexingWarning'
abortOnError false
checkReleaseBuilds false
warningsAsErrors true
disable 'MissingTranslation',
'GoogleAppIndexingWarning',
'UnusedResources',
'ContentDescription',
'RtlSymmetry',
'RtlHardcoded',
'RtlEnabled',
'Overdraw'
}

defaultConfig {
Expand All @@ -39,15 +46,14 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
consumerProguardFiles 'proguard-rules.pro'
}
}
}

dependencies {
api fileTree(dir: 'libs', include: ['*.jar'])
// Android Support Libraries
api 'com.android.support:support-v13:' + versions.supportLibs
api 'com.android.support:appcompat-v7:' + versions.supportLibs
api 'com.android.support:cardview-v7:' + versions.supportLibs
api 'com.android.support:design:' + versions.supportLibs
}
Expand Down

0 comments on commit 142758b

Please sign in to comment.