update gradle

This commit is contained in:
2022-02-12 19:24:25 +08:00
parent ee3a875ce9
commit 3e0c72c9ab
29 changed files with 35 additions and 301 deletions

View File

@@ -7,7 +7,7 @@
<option name="testRunner" value="PLATFORM" />
<option name="distributionType" value="LOCAL" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="C:\Program Files\Huawei\DevEco Studio 3.0.0.601\tools\gradle" />
<option name="gradleHome" value="C:\Program Files\Huawei\DevEco Studio 3.0.0.800\tools\gradle" />
<option name="gradleJvm" value="#JAVA_INTERNAL" />
<option name="modules">
<set>

2
2048f/.idea/misc.xml generated
View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
</project>

BIN
2048f/.idea/misc.xml~ generated

Binary file not shown.

View File

@@ -11,8 +11,6 @@ P
.entry/src/main/js/default/pages/index/index.js,3\6\36d48c2c0aa8cb6b91428b9d2d791dcae782d636
^
.entry/src/main/js/default/pages/page0/page0.js,e\7\e76da2df200fc79b254b005f068d568bf8c2b7ec
J
entry/src/main/config.json,1\0\10f965cf51fe14a5ef0ca2ebefb1bd7e4607eeb2
_
/entry/src/main/js/default/pages/page0/page0.css,3\b\3bb84a6effd773d95ed647597ffe3ad387fdfbcf
_
@@ -20,4 +18,12 @@ _
_
/entry/src/main/js/default/pages/page0/page0.hml,6\2\6288971498872deb62c5e285d192d813e22b1c1c
_
/entry/src/main/js/default/pages/index/index.hml,e\b\eb4272ef57a8e412e241acf56c46fd3c2ccd3848
/entry/src/main/js/default/pages/index/index.hml,e\b\eb4272ef57a8e412e241acf56c46fd3c2ccd3848
X
(gradle/wrapper/gradle-wrapper.properties,f\b\fbe448ebfc3eb2d4e308f6b8b043666f5b57235e
<
build.gradle,f\0\f07866736216be0ee2aba49e392191aeae700a35
J
entry/src/main/config.json,1\0\10f965cf51fe14a5ef0ca2ebefb1bd7e4607eeb2
B
entry/build.gradle,a\d\ad38b2dea33752cac233aa09d7dfbe582e9dded6

View File

@@ -1,37 +0,0 @@
{
"agcgw_all":{
"CN":"connect-drcn.dbankcloud.cn",
"CN_back":"connect-drcn.hispace.hicloud.com",
"DE":"connect-dre.dbankcloud.cn",
"DE_back":"connect-dre.hispace.hicloud.com",
"RU":"connect-drru.dbankcloud.cn",
"RU_back":"connect-drru.hispace.hicloud.com",
"SG":"connect-dra.dbankcloud.cn",
"SG_back":"connect-dra.hispace.hicloud.com"
},
"client":{
"cp_id":"56657123",
"product_id":"737518067793736787",
"client_id":"762329203499615488",
"client_secret":"[!00A00BA9DEE2EE7747F9F30DB21E2A2616FD064D36C8B4BADA99E146F8A9D30ABA14098C61FA48E600A90FA8CD63E096972CF8186C53424D840AFE50C3797974F436ABC8462E7B6865E1E16DA7B94792D05C21F5A35F341C77F28A3C4FA6F85866]",
"project_id":"737518067793736787",
"app_id":"105206265",
"api_key":"[!00854F5F9018C3E704B93E22B435C683904300122B0B318C8D07FCAD9E8EF3DC93E434EA08CA13223506BC7633ED71EF2220B0CD308A2F6755366524D8E2308480367DF9757EC20679ABD7A593DC52C8F7847EBFE12FF91D9629C4AA430F6456D9DE5DB20BD519B04D254D27B4B979ABDD876D7E481BBCF723299EBA9C5F53AC44]",
"package_name":"com.xcl20481.myapplication"
},
"oauth_client":{
"client_id":"105206265",
"client_type":30
},
"app_info":{
"app_id":"789706653405555520",
"package_name":"com.xcl20481.myapplication"
},
"code":{
"code1":"5D5ADBAA2F552D1A56E15069289B06F0",
"code2":"9F517684338B58C149755A692207A16E",
"code3":"02E063FD412D97BAE350C41C8294DFDF",
"code4":"DCAD5BA6BD850402D4AEF5B150FB33DD"
},
"configuration_version":"3.0"
}

View File

@@ -5,13 +5,13 @@ apply plugin: 'com.huawei.ohos.app'
ohos {
signingConfigs {
debug {
storeFile file('C:\\Users\\lenovo\\.ohos\\config\\auto_debug_myapplication_56657123.p12')
storePassword '000000189845B89E9938FEEBFE701FAEAC25439ED8DE6F976636C812F590E90DEF8C2D7240F79BEA'
keyAlias = 'debugKey'
keyPassword '00000018F7C68D0AD0D2776537D282AB0031F7235FF3D835EAC2ABA317D122EE3C2FD3679146F82A'
storeFile file('D:\\Gitlab\\Calculator-HarmonyOS-Full\\HOCal\\key\\xclcal.p12')
storePassword '000000188445F98C50F77AD54D972EA8AF7C844B45D0040328A695CE74C9E893C34FD7C935FAF115'
keyAlias = 'xclcal'
keyPassword '00000018D9A8F298ADDF68272A0002370AC7C39FA90960B724D294E85DBEE3E55D4B5522B1E6CC80'
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')
profile file('D:\\Downloads\\xcl20481Debug.p7b')
certpath file('D:\\Gitlab\\Calculator-HarmonyOS-Full\\HOCal\\key\\xclcald.cer')
}
}
compileSdkVersion 6
@@ -27,8 +27,8 @@ buildscript {
}
}
dependencies {
classpath 'com.huawei.ohos:hap:3.0.3.4'
classpath 'com.huawei.ohos:decctest:1.2.6.0'
classpath 'com.huawei.ohos:hap:3.0.5.2'
classpath 'com.huawei.ohos:decctest:1.2.7.2'
}
}

View File

@@ -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']

View File

@@ -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",

View File

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

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://repo.huaweicloud.com/gradle/gradle-6.3-bin.zip
distributionUrl=https\://repo.huaweicloud.com/gradle/gradle-7.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists