1/* 2# Copyright (c) 2020-2030 iSoftStone Information Technology (Group) Co.,Ltd. 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13*/ 14 15// Top-level build file where you can add configuration options common to all sub-projects/modules. 16apply plugin: 'com.huawei.ohos.app' 17 18//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510 19ohos { 20 signingConfigs { 21 debug { 22 storeFile file('D:\\key_store_file\\photo_app\\photo.p12') 23 storePassword '0000001D5DAD15D53DE678B5EBCEB83AF2F8FCEC0797D9413B6048E6F8AF3792526237D5A3985D1E8CCE4543DB' 24 keyAlias = 'myApplication_debug' 25 keyPassword '0000001D69A4475227F4119D3844144201CF8141476BD8300C5B8450136FA1806958F2EB424445975B26D50FED' 26 signAlg = 'SHA256withECDSA' 27 profile file('D:\\key_store_file\\photo_app\\fiveChessGame.p7b') 28 certpath file('D:\\key_store_file\\photo_app\\photo.cer') 29 } 30 } 31 compileSdkVersion 8 32 supportSystem "standard" 33} 34 35buildscript { 36 repositories { 37 maven { 38 url 'https://repo.huaweicloud.com/repository/maven/' 39 } 40 maven { 41 url 'https://developer.huawei.com/repo/' 42 } 43 } 44 dependencies { 45 classpath 'com.huawei.ohos:hap:3.0.5.2' 46 classpath 'com.huawei.ohos:decctest:1.2.7.2' 47 } 48} 49 50allprojects { 51 repositories { 52 maven { 53 url 'https://repo.huaweicloud.com/repository/maven/' 54 } 55 maven { 56 url 'https://developer.huawei.com/repo/' 57 } 58 } 59} 60