1
0

update gradle

This commit is contained in:
田梓萱 2022-02-12 19:28:24 +08:00
parent eb2c33d16a
commit 58249439a7
7 changed files with 27 additions and 38 deletions

View File

@ -7,7 +7,7 @@
<option name="testRunner" value="PLATFORM" /> <option name="testRunner" value="PLATFORM" />
<option name="distributionType" value="LOCAL" /> <option name="distributionType" value="LOCAL" />
<option name="externalProjectPath" value="$PROJECT_DIR$" /> <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="gradleJvm" value="#JAVA_INTERNAL" />
<option name="modules"> <option name="modules">
<set> <set>

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

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" 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> </project>

View File

@ -1,6 +1,4 @@
<
build.gradle,f\0\f07866736216be0ee2aba49e392191aeae700a35
: :
.gitignore,a\5\a5cc2925ca8258af241be7e5b0381edf30266302 .gitignore,a\5\a5cc2925ca8258af241be7e5b0381edf30266302
@ -14,8 +12,6 @@ X
gradlew.bat,2\a\2a45a911a8f1836b0b6c5b758962572012d8f8c3 gradlew.bat,2\a\2a45a911a8f1836b0b6c5b758962572012d8f8c3
A A
gradle.properties,2\a\2afbb999f001938c88fa43fc2ef52abf0f8213e4 gradle.properties,2\a\2afbb999f001938c88fa43fc2ef52abf0f8213e4
<
package.json,7\0\7030d0b2f71b999ff89a343de08c414af32fc93a
@ @
entry/.gitignore,f\0\f0a6d47efb29aae09031985f74d3e6850f8e5432 entry/.gitignore,f\0\f0a6d47efb29aae09031985f74d3e6850f8e5432
H H
@ -26,10 +22,6 @@ Y
)entry/src/main/js/default/i18n/en-US.json,5\3\53c2f15f1da3e1de172f90feee9cf4143c3029f0 )entry/src/main/js/default/i18n/en-US.json,5\3\53c2f15f1da3e1de172f90feee9cf4143c3029f0
Y Y
)entry/src/main/js/default/i18n/zh-CN.json,0\3\037eb38d22a90ee435a04f5160df2347025c27e5 )entry/src/main/js/default/i18n/zh-CN.json,0\3\037eb38d22a90ee435a04f5160df2347025c27e5
J
entry/src/main/config.json,1\0\10f965cf51fe14a5ef0ca2ebefb1bd7e4607eeb2
B
entry/build.gradle,a\d\ad38b2dea33752cac233aa09d7dfbe582e9dded6
P P
entry/src/main/js/default/app.js,b\4\b4c4e536f4084a0b6a45f8b0d2725567135b92e6 entry/src/main/js/default/app.js,b\4\b4c4e536f4084a0b6a45f8b0d2725567135b92e6
_ _
@ -38,3 +30,11 @@ _
/entry/src/main/js/default/pages/index/index.hml,e\b\eb4272ef57a8e412e241acf56c46fd3c2ccd3848 /entry/src/main/js/default/pages/index/index.hml,e\b\eb4272ef57a8e412e241acf56c46fd3c2ccd3848
^ ^
.entry/src/main/js/default/pages/index/index.js,3\6\36d48c2c0aa8cb6b91428b9d2d791dcae782d636 .entry/src/main/js/default/pages/index/index.js,3\6\36d48c2c0aa8cb6b91428b9d2d791dcae782d636
J
entry/src/main/config.json,1\0\10f965cf51fe14a5ef0ca2ebefb1bd7e4607eeb2
B
entry/build.gradle,a\d\ad38b2dea33752cac233aa09d7dfbe582e9dded6
<
build.gradle,f\0\f07866736216be0ee2aba49e392191aeae700a35
<
package.json,7\0\7030d0b2f71b999ff89a343de08c414af32fc93a

View File

@ -3,27 +3,7 @@ apply plugin: 'com.huawei.ohos.app'
//For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510 //For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
ohos { ohos {
signingConfigs { compileSdkVersion 6
debug {
storeFile file('C:\\Study\\key\\xcl2048.p12')
storePassword '00000018F7FAD4DE0BB863142993D255B63C586BFE9A4D554EB96CAC51C1C6CDC585B915635C71FE'
keyAlias = 'xcl2048'
keyPassword '000000180A8B74EFA0A1EBB5688ABB0B67ABC55BF31B52113CCDE96012B649EFAC035688455044DB'
signAlg = 'SHA256withECDSA'
profile file('C:\\Study\\key\\xcl2048Debug.p7b')
certpath file('C:\\Study\\key\\xcl2048.cer')
}
release {
storeFile file('C:\\Study\\key\\xcl2048.p12')
storePassword '00000018EC98F99FD59E53EA2D7277BB2A7A47A49EF2C571B438B41317A5F8BD3076BD495B0AA6B9'
keyAlias = 'xcl2048'
keyPassword '000000188C93967FFACA83A806DEB256E56D7BC2109E027760ED3904F370C99EF5AF5A35F008C506'
signAlg = 'SHA256withECDSA'
profile file('C:\\Study\\key\\xcl2048fRelease.p7b')
certpath file('C:\\Study\\key\\xcl2048f.cer')
}
}
compileSdkVersion 7
} }
buildscript { buildscript {
@ -36,8 +16,8 @@ buildscript {
} }
} }
dependencies { dependencies {
classpath 'com.huawei.ohos:hap:3.0.3.4' classpath 'com.huawei.ohos:hap:3.0.5.2'
classpath 'com.huawei.ohos:decctest:1.2.6.0' classpath 'com.huawei.ohos:decctest:1.2.7.2'
} }
} }

View File

@ -3,7 +3,7 @@ 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 //For instructions on signature configuration, see https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ide_debug_device-0000001053822404#section1112183053510
ohos { ohos {
compileSdkVersion 7 compileSdkVersion 6
defaultConfig { defaultConfig {
compatibleSdkVersion 6 compatibleSdkVersion 6
} }
@ -20,7 +20,7 @@ ohos {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
testImplementation 'junit:junit:4.13.1' 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 { decc {
supportType = ['html','xml'] supportType = ['html','xml']

View File

@ -10,13 +10,22 @@
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"deviceType": [ "deviceType": [
"Wearable" "liteWearable"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
"moduleName": "entry", "moduleName": "entry",
"moduleType": "entry" "moduleType": "entry"
}, },
"metaData": {
"customizeData": [
{
"name": "hwc-theme",
"extra": "",
"value": "androidhwext:style/Theme.Emui.Translucent.NoTitleBar"
}
]
},
"js": [ "js": [
{ {
"pages": [ "pages": [

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists 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 zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists