1apply 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 3ohos { 4 compileSdkVersion 8 5 defaultConfig { 6 compatibleSdkVersion 8 7 } 8 buildTypes { 9 release { 10 proguardOpt { 11 proguardEnabled false 12 rulesFiles 'proguard-rules.pro' 13 } 14 } 15 } 16} 17 18dependencies { 19 implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) 20 testImplementation 'junit:junit:4.13.1' 21} 22