build.gradle 892 B

123456789101112131415161718192021222324252627282930313233
  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. compileSdkVersion 7
  6. }
  7. buildscript {
  8. repositories {
  9. maven {
  10. url 'https://repo.huaweicloud.com/repository/maven/'
  11. }
  12. maven {
  13. url 'https://developer.huawei.com/repo/'
  14. }
  15. }
  16. dependencies {
  17. classpath 'com.huawei.ohos:hap:3.0.5.2'
  18. classpath 'com.huawei.ohos:decctest:1.2.7.2'
  19. }
  20. }
  21. allprojects {
  22. repositories {
  23. maven {
  24. url 'https://repo.huaweicloud.com/repository/maven/'
  25. }
  26. maven {
  27. url 'https://developer.huawei.com/repo/'
  28. }
  29. }
  30. }