上传npm打包命令代码

This commit is contained in:
田岩
2025-07-08 19:23:51 +08:00
parent a395edbb55
commit 026166a010
5 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
f // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
+1 -10
View File
@@ -1,10 +1 @@
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Thu Jul 03 09:46:08 CST 2025
#sdk.dir=C\:\\Users\\ty\\AppData\\Local\\Android\\Sdk
sdk.dir=/data/jenkins/agent/workspace/tra-app-build-test/android-sdk
sdk.dir=/data/jenkins/agent/workspace/tra-app-build-test/android-sdk
+1
View File
@@ -63,3 +63,4 @@ dependencies {
implementation 'androidx.webkit:webkit:1.5.0'
}
def sdkDir = System.getenv("versionName") ?: "C\:\\Users\\ty\\AppData\\Local\\Android\\Sdk"
+3
View File
@@ -0,0 +1,3 @@
SDK_DIR="/data/jenkins/agent/workspace/tra-app-build-test/android-sdk"
APK_ENV_PREFIX="dev"
+2
View File
@@ -6,6 +6,8 @@
"dev:h5": "uni",
"dev:h5:sit": "uni -p h5 --mode sit",
"dev:h5:uat": "uni -p h5 --mode uat",
"dev:h5:production": "uni -p h5 --mode production",
"build:app-plus:dev": "uni build -p app-plus --mode development",
"build:app-plus:sit": "uni build -p app-plus --mode sit",
"build:app-plus:uat": "uni build -p app-plus --mode uat",
"build:app-plus": "uni build -p app-plus",