上传npm打包命令代码
This commit is contained in:
@@ -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 +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
|
||||
@@ -63,3 +63,4 @@ dependencies {
|
||||
implementation 'androidx.webkit:webkit:1.5.0'
|
||||
}
|
||||
|
||||
def sdkDir = System.getenv("versionName") ?: "C\:\\Users\\ty\\AppData\\Local\\Android\\Sdk"
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
SDK_DIR="/data/jenkins/agent/workspace/tra-app-build-test/android-sdk"
|
||||
APK_ENV_PREFIX="dev"
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user