Skip to content

Commit

Permalink
Merge pull request #9 from elimu-ai/7-Add-build-type-qa_test-
Browse files Browse the repository at this point in the history
#7 Add build type "qa_test"
  • Loading branch information
nya-elimu authored Oct 10, 2020
2 parents 7e4e066 + 1792b25 commit 83c775c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ android {
buildConfigField("String", "CONTENT_PROVIDER_APPLICATION_ID", '"ai.elimu.content_provider.debug"')
buildConfigField("String", "ANALYTICS_APPLICATION_ID", '"ai.elimu.analytics.debug"')
}
qa_test {
applicationIdSuffix ".test"
versionNameSuffix "-test"
manifestPlaceholders = [contentProviderApplicationId: "ai.elimu.content_provider.test", analyticsApplicationId: "ai.elimu.analytics.test"]
buildConfigField("String", "CONTENT_PROVIDER_APPLICATION_ID", '"ai.elimu.content_provider.test"')
buildConfigField("String", "ANALYTICS_APPLICATION_ID", '"ai.elimu.analytics.test"')
}
release {
minifyEnabled false
manifestPlaceholders = [contentProviderApplicationId: "ai.elimu.content_provider", analyticsApplicationId: "ai.elimu.analytics"]
Expand All @@ -40,7 +47,7 @@ android {

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'ai.elimu:model:2.0.23'
implementation 'ai.elimu:model:2.0.24'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.1"
classpath 'com.android.tools.build:gradle:4.0.2'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down

0 comments on commit 83c775c

Please sign in to comment.