-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
43 lines (41 loc) · 1.31 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'com.huawei.ohos.app'
apply plugin: "org.sonarqube"
//For instructions on signature configuration, see https://developer.harmonyos.com/en/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
ohos {
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.0.3.4'
classpath 'com.huawei.ohos:decctest:1.2.6.0'
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.3"
}
}
allprojects {
repositories {
maven {
url 'https://repo.huaweicloud.com/repository/maven/'
}
maven {
url 'https://developer.huawei.com/repo/'
}
}
}
sonarqube {
properties {
property "sonar.projectKey", "applibgroup_Buttons"
property "sonar.organization", "applibgroup"
property "sonar.host.url", "https://sonarcloud.io/"
property "sonar.sources", "src"
property "sonar.java.binaries", "build"
}
}