build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. apply plugin: 'com.android.application'
  2. apply from: '../dependencies.gradle'
  3. apply plugin: 'kotlin-android'
  4. android {
  5. defaultConfig {
  6. applicationId "com.shanp.deerdirector"
  7. // region 极光推送2、 必须配置在 主模块下的build.gradle
  8. manifestPlaceholders = [
  9. JPUSH_PKGNAME: "com.shanp.deerdirector",
  10. JPUSH_APPKEY : "49fb72ec414fb09293cc724a", //JPush 上注册的包名对应的 Appkey.
  11. JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
  12. //meizu_config_start
  13. MEIZU_APPKEY : "MZ-魅族的APPKEY",
  14. MEIZU_APPID : "MZ-魅族的APPID",
  15. //meizu_config_end
  16. //xiaomi_config_start
  17. XIAOMI_APPID : "MI-小米的APPID",
  18. XIAOMI_APPKEY : "MI-小米的APPKEY",
  19. //xiaomi_config_end
  20. //oppo_config_start
  21. OPPO_APPKEY : "OP-oppo的APPKEY",
  22. OPPO_APPID : "OP-oppo的APPID",
  23. OPPO_APPSECRET: "OP-oppo的APPSECRET",
  24. //oppo_config_end
  25. //vivo_config_start
  26. VIVO_APPKEY : "vivo的APPKEY",
  27. VIVO_APPID : "vivo的APPID",
  28. //vivo_config_end
  29. ]
  30. // endregion
  31. }
  32. }
  33. dependencies {
  34. implementation project(":base")
  35. implementation 'androidx.appcompat:appcompat:1.2.0'
  36. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  37. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  38. }