Skip to content

Commit

Permalink
chore(sample): add flavors config in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
simpleton committed Nov 17, 2017
1 parent c8dfa90 commit f1b7d0e
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions AndResGuard-example/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,26 @@ android {
}
}

// productFlavors {
// flavor2 {
// println("@@@THIS IS FLAVOR2@@@")
// applicationId 'andresguard.tencent.com.andresguard_example.flavor2'
// }
//
// flavor1 {
// println("@@@THIS IS FLAVOR1@@@")
// applicationId 'andresguard.tencent.com.andresguard_example.flavor1'
// }
//
// aaa {
// println("@@@THIS IS aaa@@@")
// applicationId 'andresguard.tencent.com.andresguard_example.aaa'
// }
// }
flavorDimensions "default"
productFlavors {
flavor2 {
dimension "default"
println("@@@THIS IS FLAVOR2@@@")
applicationId 'andresguard.tencent.com.andresguard_example.flavor2'
}

flavor1 {
dimension "default"
println("@@@THIS IS FLAVOR1@@@")
applicationId 'andresguard.tencent.com.andresguard_example.flavor1'
}

aaa {
dimension "default"
println("@@@THIS IS aaa@@@")
applicationId 'andresguard.tencent.com.andresguard_example.aaa'
}
}

buildTypes {
release {
Expand Down

0 comments on commit f1b7d0e

Please sign in to comment.