build.gradle 931 B

1234567891011121314151617181920212223242526272829
  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#ZH-CN_TOPIC_0000001154985555__section1112183053510
  4. ohos {
  5. compileSdkVersion 5
  6. defaultConfig {
  7. compatibleSdkVersion 4
  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'
  21. ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.100'
  22. implementation('org.apache.qpid:qpid-jms-client:0.50.0')
  23. implementation('cn.hutool:hutool-all:5.4.3')
  24. }
  25. decc {
  26. supportType = ['html','xml']
  27. }