update gradle
This commit is contained in:
@@ -2,18 +2,7 @@ apply plugin: 'com.huawei.ohos.hap'
|
||||
apply plugin: 'com.huawei.ohos.decctest'
|
||||
//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
|
||||
ohos {
|
||||
signingConfigs {
|
||||
debug {
|
||||
storeFile file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.p12')
|
||||
storePassword '000000184687F86CE825B945C63332C663B49040D417619ED0F20979ACB29ACE21EE6BB17DEA1B44'
|
||||
keyAlias = 'debugKey'
|
||||
keyPassword '0000001865A11CDD718E32FF669EE7AD4AAB69761F5E7492D75D7FE30C0192AF12585B4EC9F4A770'
|
||||
signAlg = 'SHA256withECDSA'
|
||||
profile file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.p7b')
|
||||
certpath file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.cer')
|
||||
}
|
||||
}
|
||||
compileSdkVersion 7
|
||||
compileSdkVersion 6
|
||||
defaultConfig {
|
||||
compatibleSdkVersion 6
|
||||
}
|
||||
@@ -30,7 +19,7 @@ ohos {
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
|
||||
testImplementation 'junit:junit:4.13.1'
|
||||
ohosTestImplementation 'com.huawei.ohos.testkit:runner:1.0.0.200'
|
||||
ohosTestImplementation 'com.huawei.ohos.testkit:runner:2.0.0.200'
|
||||
}
|
||||
decc {
|
||||
supportType = ['html', 'xml']
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"app": {
|
||||
"apiVersion": {
|
||||
"compatible": 5
|
||||
"compatible": 6
|
||||
},
|
||||
"bundleName": "com.xcl20481.myapplication",
|
||||
"vendor": "2048",
|
||||
@@ -21,7 +21,8 @@
|
||||
"mainAbility": "com.xcl20481.myapplication.MainAbility",
|
||||
"reqPermissions": [
|
||||
{
|
||||
"name": "ohos.permission.VIBRATE"
|
||||
"name": "ohos.permission.VIBRATE",
|
||||
"reason": "用于长按振动反馈"
|
||||
}
|
||||
],
|
||||
"deviceType": [
|
||||
@@ -36,6 +37,15 @@
|
||||
"moduleType": "entry",
|
||||
"installationFree": false
|
||||
},
|
||||
"metaData": {
|
||||
"customizeData": [
|
||||
{
|
||||
"name": "hwc-theme",
|
||||
"extra": "",
|
||||
"value": "androidhwext:style/Theme.Emui.Translucent.NoTitleBar"
|
||||
}
|
||||
]
|
||||
},
|
||||
"abilities": [
|
||||
{
|
||||
"skills": [
|
||||
@@ -50,7 +60,7 @@
|
||||
],
|
||||
"visible": true,
|
||||
"name": "com.xcl20481.myapplication.MainAbility",
|
||||
"icon": "$media:icon2",
|
||||
"icon": "$media:icon",
|
||||
"description": "$string:mainability_description",
|
||||
"label": "$string:xcl2048",
|
||||
"type": "page",
|
||||
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.6 KiB |
Reference in New Issue
Block a user