mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-20 15:34:26 +08:00
chore: upgrade ui-mobile-base for JDK 11
This commit is contained in:
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip
|
||||||
|
@ -88,11 +88,13 @@ task cleanBuildDir (type: Delete) {
|
|||||||
delete "../build/"
|
delete "../build/"
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyAar << {
|
task copyAar {
|
||||||
|
doLast {
|
||||||
copy {
|
copy {
|
||||||
from "build/outputs/aar/widgets-release.aar"
|
from "build/outputs/aar/widgets-release.aar"
|
||||||
into "../build/"
|
into "../build/"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
assemble.dependsOn(cleanBuildDir)
|
assemble.dependsOn(cleanBuildDir)
|
||||||
|
@ -13,7 +13,7 @@ echo "Build android"
|
|||||||
cd android
|
cd android
|
||||||
./gradlew --quiet assembleRelease
|
./gradlew --quiet assembleRelease
|
||||||
cd ..
|
cd ..
|
||||||
cp android/widgets/build/outputs/aar/widgets-release.aar dist/package/platforms/android/widgets-release.aar
|
cp android/widgets/build/outputs/aar/widgets.aar dist/package/platforms/android/widgets-release.aar
|
||||||
|
|
||||||
if [ "$1" ]
|
if [ "$1" ]
|
||||||
then
|
then
|
||||||
@ -26,7 +26,7 @@ then
|
|||||||
echo "SKIP pack"
|
echo "SKIP pack"
|
||||||
else
|
else
|
||||||
echo "Copy NPM artefacts"
|
echo "Copy NPM artefacts"
|
||||||
cp .npmignore LICENSE README.md package.json dist/package
|
cp .npmignore README.md package.json dist/package
|
||||||
echo "NPM pack"
|
echo "NPM pack"
|
||||||
cd dist/package
|
cd dist/package
|
||||||
PACKAGE="$(npm pack)"
|
PACKAGE="$(npm pack)"
|
||||||
|
Reference in New Issue
Block a user