build.gradle 858 B

12345678910111213141516171819202122232425262728
  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.tensorflow:tensorflow-lite:0.0.0-nightly'
  23. }
  24. decc {
  25. supportType = ['html','xml']
  26. }