build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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/ide_debug_device-0000001053822404#section1112183053510
  4. ohos {
  5. signingConfigs {
  6. debug {
  7. storeFile file('C:\\Users\\maoliao\\.ohos\\config\\auto_debug_codelab_260086000022061955.p12')
  8. storePassword '00000018337D2019057E745ED8939A4DCE71E7F53F4AC483EAC4890EE5579B11B090FCAB0AFE6180'
  9. keyAlias = 'debugKey'
  10. keyPassword '00000018FBC574EE199A4C174EF0D312539EE357EDD6CF30A0F0BAD0D4C985B9847948599F5F9E91'
  11. signAlg = 'SHA256withECDSA'
  12. profile file('C:\\Users\\maoliao\\.ohos\\config\\auto_debug_codelab_260086000022061955.p7b')
  13. certpath file('C:\\Users\\maoliao\\.ohos\\config\\auto_debug_codelab_260086000022061955.cer')
  14. }
  15. }
  16. compileSdkVersion 7
  17. }
  18. buildscript {
  19. repositories {
  20. maven {
  21. url 'https://repo.huaweicloud.com/repository/maven/'
  22. }
  23. maven {
  24. url 'https://developer.huawei.com/repo/'
  25. }
  26. }
  27. dependencies {
  28. classpath 'com.huawei.ohos:hap:3.0.3.4'
  29. classpath 'com.huawei.ohos:decctest:1.2.6.0'
  30. }
  31. }
  32. allprojects {
  33. repositories {
  34. maven {
  35. url 'https://repo.huaweicloud.com/repository/maven/'
  36. }
  37. maven {
  38. url 'https://developer.huawei.com/repo/'
  39. }
  40. }
  41. }