// Top-level build file where you can add configuration options common to all sub-projects/modules. apply plugin: 'com.huawei.ohos.app' //For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510 ohos { signingConfigs { debug { storeFile file('C:\\Users\\xiaox\\.ohos\\config\\auto_debug_Flashlight_com.xxay.flashlight_2850086000402244761.p12') storePassword '0000001B2618713F2D1435A40E433FEA0797F7C33A7B592CB8BCEE753EF9A54012998684590D2211358C62' keyAlias = 'debugKey' keyPassword '0000001B7D661FAE49ED4854C075A6FAC8014F7DC2E5574C6A25271F870891BF5B2AAEF8B52D5EC291B06A' signAlg = 'SHA256withECDSA' profile file('C:\\Users\\xiaox\\.ohos\\config\\auto_debug_Flashlight_com.xxay.flashlight_2850086000402244761.p7b') certpath file('C:\\Users\\xiaox\\.ohos\\config\\auto_debug_Flashlight_com.xxay.flashlight_2850086000402244761.cer') } } compileSdkVersion 6 } buildscript { repositories { maven { url 'https://repo.huaweicloud.com/repository/maven/' } maven { url 'https://developer.huawei.com/repo/' } } dependencies { classpath 'com.huawei.ohos:hap:3.1.1.4' classpath 'com.huawei.ohos:decctest:1.2.7.15' } } allprojects { repositories { maven { url 'https://repo.huaweicloud.com/repository/maven/' } maven { url 'https://developer.huawei.com/repo/' } } }