build.gradle 921 B

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