build.gradle 759 B

1234567891011121314151617181920212223242526
  1. apply plugin: 'com.huawei.ohos.hap'
  2. apply plugin: 'com.huawei.ohos.decctest'
  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. defaultConfig {
  7. compatibleSdkVersion 7
  8. }
  9. buildTypes {
  10. release {
  11. proguardOpt {
  12. proguardEnabled false
  13. rulesFiles 'proguard-rules.pro'
  14. }
  15. }
  16. }
  17. }
  18. dependencies {
  19. implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
  20. testImplementation 'junit:junit:4.13.1'
  21. ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.200'
  22. }
  23. decc {
  24. supportType = ['html','xml']
  25. }