1/* 2 * Copyright (c) 2021 Huawei Device 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 * limitations under the License. 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 18ohos { 19 signingConfigs { 20 debug { 21 storeFile file('signature\\demo.p12') 22 storePassword '000000199FC9A84CDB5260157B200958D21EDB95A83C2D4D71B4B4696D30BF1E7062E591FD073A04B4' 23 keyAlias = 'demo' 24 keyPassword '0000001921F600EE5BC1084649F3B296949A7E9153261C47FADB854CFC10454965D7AC8486D42CBD66' 25 signAlg = 'SHA256withECDSA' 26 profile file('signature\\demo.p7b') 27 certpath file('signature\\demo.cer') 28 } 29 } 30 compileSdkVersion 7 31 supportSystem "standard" 32} 33 34buildscript { 35 repositories { 36 maven { 37 url 'https://repo.huaweicloud.com/repository/maven/' 38 } 39 maven { 40 url 'https://developer.huawei.com/repo/' 41 } 42 } 43 dependencies { 44 classpath 'com.huawei.ohos:hap:3.0.3.4' 45 classpath 'com.huawei.ohos:decctest:1.2.6.0' 46 } 47} 48 49allprojects { 50 repositories { 51 maven { 52 url 'https://repo.huaweicloud.com/repository/maven/' 53 } 54 maven { 55 url 'https://developer.huawei.com/repo/' 56 } 57 } 58} 59