• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Top-level build file where you can add configuration options common to all sub-projects/modules.
2apply plugin: 'com.huawei.ohos.app'
3
4//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
5ohos {
6    signingConfigs {
7        debug {
8            storeFile file('E:\\keys\\httpKey\\httpKey.p12')
9            storePassword '000000181D276B7E0738FB6DF95E79E669D3F67845DB499D3112BD6E888E372E896D782F58A96A43'
10            keyAlias = 'key'
11            keyPassword '00000018D77CC66BF58ED6FD340C406FE00E2950DA31CAF923E852A206393F525FE1EE61173B6A43'
12            signAlg = 'SHA256withECDSA'
13            profile file('E:\\keys\\httpKey\\drawingBoardKey.p7b')
14            certpath file('E:\\keys\\httpKey\\httpKey.cer')
15        }
16    }
17    compileSdkVersion 8
18    supportSystem "standard"
19}
20
21buildscript {
22    repositories {
23        maven {
24            url 'https://repo.huaweicloud.com/repository/maven/'
25        }
26        maven {
27            url 'https://developer.huawei.com/repo/'
28        }
29    }
30    dependencies {
31        classpath 'com.huawei.ohos:hap:3.0.5.2'
32        classpath 'com.huawei.ohos:decctest:1.2.7.2'
33    }
34}
35
36allprojects {
37    repositories {
38        maven {
39            url 'https://repo.huaweicloud.com/repository/maven/'
40        }
41        maven {
42            url 'https://developer.huawei.com/repo/'
43        }
44    }
45}
46