build.gradle 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. apply plugin: 'com.huawei.ohos.app'
  3. //For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides-V3/ide_debug_device-0000001053822404-V3#section1112183053510
  4. ohos {
  5. signingConfigs {
  6. debug {
  7. storeFile file('C:\\Project\\fshwcar\\cert\\fsmobile.p12')
  8. storePassword '0000001CEB4F303C1F917FACE40E54DD903DAA244F6A85060C3FBAEC885209376287140446F77782D72C24F0'
  9. keyAlias = 'fsmobile'
  10. keyPassword '0000001CBE3220C5D71E86C99668352AB197DCF86E6D275EA7BD5BD0F70F16E7EFA6946C2EFED89A953A5CA7'
  11. signAlg = 'SHA256withECDSA'
  12. profile file('C:\\Project\\fshwcar\\cert\\fsmobileDebug.p7b')
  13. certpath file('C:\\Project\\fshwcar\\cert\\fsmobile.cer')
  14. }
  15. release {
  16. storeFile file('C:\\Project\\fshwcar\\cert\\fsmobile.p12')
  17. storePassword '0000001CDEEA99995A093DEA9454BB200B4DD2F0FFB42D52D31AC3A74E107843E37DE0BBE78BE6C3B1FFCF40'
  18. keyAlias = 'fsmobile'
  19. keyPassword '0000001C7B5E761A4B6B36B1E677BC59C92B651CE8E82EBDB4ACE8CC966905A80BA9E616D5B32F160163903E'
  20. signAlg = 'SHA256withECDSA'
  21. profile file('C:\\Project\\fshwcar\\cert\\fsmobile_releaseRelease.p7b')
  22. certpath file('C:\\Project\\fshwcar\\cert\\fsmobile_release.cer')
  23. }
  24. }
  25. compileSdkVersion 7
  26. }
  27. buildscript {
  28. repositories {
  29. maven {
  30. url 'https://repo.huaweicloud.com/repository/maven/'
  31. }
  32. maven {
  33. url 'https://developer.huawei.com/repo/'
  34. }
  35. }
  36. dependencies {
  37. classpath 'com.huawei.ohos:hap:3.1.5.0'
  38. classpath 'com.huawei.ohos:decctest:1.2.7.20'
  39. classpath 'com.huawei.agconnect:agcp-harmony:1.3.0.300'
  40. }
  41. }
  42. allprojects {
  43. repositories {
  44. maven {
  45. url 'https://repo.huaweicloud.com/repository/maven/'
  46. }
  47. maven {
  48. url 'https://developer.huawei.com/repo/'
  49. }
  50. repositories {
  51. flatDir {
  52. dir './entry/libs'
  53. }
  54. }
  55. }
  56. }