1/* 2 * Copyright (c) 2022 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 */ 15apply plugin: 'com.huawei.ohos.app' 16 17// For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510 18ohos { 19 compileSdkVersion 8 20 supportSystem "standard" 21} 22 23buildscript { 24 repositories { 25 maven { 26 url 'https://repo.huaweicloud.com/repository/maven/' 27 } 28 maven { 29 url 'https://developer.huawei.com/repo/' 30 } 31 } 32 dependencies { 33 classpath 'com.huawei.ohos:hap:3.0.5.2' 34 classpath 'com.huawei.ohos:decctest:1.2.7.2' 35 } 36} 37 38allprojects { 39 repositories { 40 maven { 41 url 'https://repo.huaweicloud.com/repository/maven/' 42 } 43 maven { 44 url 'https://developer.huawei.com/repo/' 45 } 46 } 47} 48