Commit b9ad6fe2 authored by Sky's avatar Sky

ide升级配置修改

parent 1e7f4b7b
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: 'com.huawei.harmony.app'
apply plugin: 'com.huawei.ohos.app'
harmonyos {
ohos {
signingConfigs {
release {
signAlg 'SHA256withECDSA'
}
}
compileSdkVersion 1
compileSdkVersion 3
defaultConfig {
compatibleSdkVersion 1
compatibleSdkVersion 3
}
}
buildscript {
repositories {
maven {
url uri('E:\\HarmonyOS\\plugin')
url 'https://mirrors.huaweicloud.com/repository/maven/'
}
maven {
url 'https://mirrors.huaweicloud.com/repository/maven/'
url 'https://developer.huawei.com/repo/'
}
jcenter()
}
dependencies {
classpath 'com.huawei.harmony:hap:1.0.7.4'
classpath 'com.huawei.ohos:hap:2.0.0.6'
}
}
......@@ -32,10 +32,10 @@ buildscript {
allprojects {
repositories {
maven {
url uri('E:\\HarmonyOS\\plugin')
url 'https://mirrors.huaweicloud.com/repository/maven/'
}
maven {
url 'https://mirrors.huaweicloud.com/repository/maven/'
url 'https://developer.huawei.com/repo/'
}
jcenter()
}
......
{
"profile": {
"package": "com.company.fit",
"version-code": 1,
"version-name": "1.0.0",
"uses-sdk": {
"min-version": "zsdk 1.0.0"
},
"distro": {
"delivery-with-install": true,
"module-name": "entry",
"module-type": "entry"
},
"application": {
"label": "Fit",
"icon": "res/drawable",
"abilities": [
{
"name": "default",
"label": "Fit"
}
],
"js": [
{
"name": "default",
"pages": [
"pages/index/index"
]
}
]
}
}
}
\ No newline at end of file
apply plugin: 'com.huawei.harmony.hap'
apply plugin: 'com.huawei.ohos.hap'
harmonyos {
ohos {
signingConfigs {
debug {
certpath file('D:/HuaweiWatchClient/fitjs_certificate.cer')
......@@ -12,9 +12,9 @@ harmonyos {
storeFile file('D:/HuaweiWatchClient/huawei_watch.jks')
}
}
compileSdkVersion 1
compileSdkVersion 3
defaultConfig {
compatibleSdkVersion 1
compatibleSdkVersion 3
}
}
sourceSets{
......
......@@ -4,19 +4,16 @@
"version": {
"code": 1,
"name": "1.0.0"
},
"apiVersion": {
"compatible": 3,
"target": 3
}
},
"deviceConfig": {
"default": {
"reqSdk": {
"compatible": "zsdk 1.0.0",
"target": "zsdk 1.0.0"
}
}
},
"deviceConfig": {},
"module": {
"deviceType": [
"fitnessWatch"
"liteWearable"
],
"abilities": [
{
......
<div class="container">
<div class="container" onswipe="touchMove">
<!--启动页面-->
<image class="logo" if="!page" src="../../common/default_img.png"></image>
<!--启动页面-->
......@@ -174,9 +174,7 @@
<div class="train-out-text-box">
<text class="train-out-text">
在手机上开启你
</text>
<text class="train-out-text">
今天的训练
今天的训练
</text>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment