apply plugin: 'com.huawei.ohos.hap' apply plugin: 'com.huawei.ohos.decctest' //For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510 ohos { compileSdkVersion 6 defaultConfig { compatibleSdkVersion 6 } showInServiceCenter true buildTypes { release { proguardOpt { proguardEnabled false rulesFiles 'proguard-rules.pro' } } } } dependencies { implementation 'org.devio.hi.json:hijson:1.0.0' implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) testImplementation 'junit:junit:4.13.1' ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.200' } decc { supportType = ['html','xml'] } buildscript { repositories { maven { url 'https://mirrors.huaweicloud.com/repository/maven/' } maven { url 'https://developer.huawei.com/repo/' } jcenter() } dependencies { classpath 'com.huawei.ohos:hap:3.0.3.2' classpath 'com.huawei.ohos:decctest:1.2.6.0' } } allprojects { repositories { maven { url 'https://mirrors.huaweicloud.com/repository/maven/' } maven { url 'https://developer.huawei.com/repo/' } jcenter() } }