build.gradle 606 B

123456789101112131415161718192021
  1. apply plugin: 'com.huawei.ohos.hap'
  2. //For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
  3. ohos {
  4. compileSdkVersion 8
  5. defaultConfig {
  6. compatibleSdkVersion 7
  7. }
  8. buildTypes {
  9. release {
  10. proguardOpt {
  11. proguardEnabled false
  12. rulesFiles 'proguard-rules.pro'
  13. }
  14. }
  15. }
  16. }
  17. dependencies {
  18. implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
  19. testImplementation 'junit:junit:4.13.1'
  20. }