@nativescript/android 8.9.0-napi-v8.9 → 8.9.0-napi-quickjs.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/framework/app/build.gradle +40 -25
- package/framework/app/libs/runtime-libs/nativescript-optimized-with-inspector.aar +0 -0
- package/framework/app/libs/runtime-libs/nativescript-optimized.aar +0 -0
- package/framework/app/libs/runtime-libs/nativescript-regular.aar +0 -0
- package/framework/gradle.properties +2 -2
- package/package.json +1 -1
|
@@ -77,9 +77,15 @@ def METADATA_JAVA_OUT = "mdg-java-out.txt"
|
|
|
77
77
|
def pluginsJarLibraries = new LinkedList<String>()
|
|
78
78
|
def allJarLibraries = new LinkedList<String>()
|
|
79
79
|
|
|
80
|
-
def computeCompileSdkVersion = { ->
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
def computeCompileSdkVersion = { ->
|
|
81
|
+
project.hasProperty("compileSdk") ? compileSdk : NS_DEFAULT_COMPILE_SDK_VERSION as int
|
|
82
|
+
}
|
|
83
|
+
def computeTargetSdkVersion = { ->
|
|
84
|
+
project.hasProperty("targetSdk") ? targetSdk : NS_DEFAULT_COMPILE_SDK_VERSION as int
|
|
85
|
+
}
|
|
86
|
+
def computeMinSdkVersion = { ->
|
|
87
|
+
project.hasProperty("minSdk") ? minSdk : NS_DEFAULT_MIN_SDK_VERSION as int
|
|
88
|
+
}
|
|
83
89
|
def computeBuildToolsVersion = { ->
|
|
84
90
|
project.hasProperty("buildToolsVersion") ? buildToolsVersion : NS_DEFAULT_BUILD_TOOLS_VERSION as String
|
|
85
91
|
}
|
|
@@ -258,9 +264,19 @@ android {
|
|
|
258
264
|
}
|
|
259
265
|
}
|
|
260
266
|
}
|
|
267
|
+
|
|
261
268
|
buildTypes {
|
|
262
269
|
release {
|
|
263
|
-
|
|
270
|
+
if (project.hasProperty("release")) {
|
|
271
|
+
if (project.hasProperty("ksPath") &&
|
|
272
|
+
project.hasProperty("ksPassword") &&
|
|
273
|
+
project.hasProperty("alias") &&
|
|
274
|
+
project.hasProperty("password")) {
|
|
275
|
+
signingConfig signingConfigs.release
|
|
276
|
+
}
|
|
277
|
+
} else {
|
|
278
|
+
signingConfig signingConfigs.debug
|
|
279
|
+
}
|
|
264
280
|
}
|
|
265
281
|
}
|
|
266
282
|
|
|
@@ -269,24 +285,24 @@ android {
|
|
|
269
285
|
applyAppGradleConfiguration()
|
|
270
286
|
|
|
271
287
|
def initializeMergedAssetsOutputPath = { ->
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
288
|
+
android.applicationVariants.configureEach { variant ->
|
|
289
|
+
if (variant.buildType.name == project.selectedBuildType) {
|
|
290
|
+
def task
|
|
291
|
+
if (variant.metaClass.respondsTo(variant, "getMergeAssetsProvider")) {
|
|
292
|
+
def provider = variant.getMergeAssetsProvider()
|
|
293
|
+
task = provider.get()
|
|
294
|
+
} else {
|
|
295
|
+
// fallback for older android gradle plugin versions
|
|
296
|
+
task = variant.getMergeAssets()
|
|
297
|
+
}
|
|
298
|
+
for (File file : task.getOutputs().getFiles()) {
|
|
299
|
+
if (!file.getPath().contains("${File.separator}incremental${File.separator}")) {
|
|
300
|
+
project.ext.mergedAssetsOutputPath = file.getPath()
|
|
301
|
+
break
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
290
306
|
}
|
|
291
307
|
|
|
292
308
|
initializeMergedAssetsOutputPath()
|
|
@@ -738,7 +754,6 @@ task buildMetadata(type: BuildToolTask) {
|
|
|
738
754
|
}
|
|
739
755
|
|
|
740
756
|
|
|
741
|
-
|
|
742
757
|
android.applicationVariants.all { variant ->
|
|
743
758
|
def buildTypeName = variant.buildType.name.capitalize()
|
|
744
759
|
def mergeShadersTaskName = "merge${buildTypeName}Shaders"
|
|
@@ -1138,7 +1153,7 @@ clean.dependsOn(cleanSbg)
|
|
|
1138
1153
|
|
|
1139
1154
|
|
|
1140
1155
|
tasks.configureEach({ DefaultTask currentTask ->
|
|
1141
|
-
|
|
1156
|
+
// println "\t ~ [DEBUG][app] build.gradle - currentTask = ${currentTask.name} ..."
|
|
1142
1157
|
|
|
1143
1158
|
if (currentTask =~ /compile.+JavaWithJavac/) {
|
|
1144
1159
|
currentTask.dependsOn(runSbg)
|
|
@@ -1305,7 +1320,7 @@ rootProject.subprojects.forEach {
|
|
|
1305
1320
|
if (currentTask =~ /bundleLibRuntimeToDir.*/) {
|
|
1306
1321
|
currentTask.finalizedBy(buildMetadata)
|
|
1307
1322
|
}
|
|
1308
|
-
|
|
1323
|
+
|
|
1309
1324
|
if (currentTask =~ /compile.*LibraryResources/) {
|
|
1310
1325
|
currentTask.finalizedBy(buildMetadata)
|
|
1311
1326
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Fri, 21 Feb 2025 22:28:14 -0800
|
|
2
2
|
# Project-wide Gradle settings.
|
|
3
3
|
|
|
4
4
|
# IDE (e.g. Android Studio) users:
|
|
@@ -45,4 +45,4 @@ ns_default_kotlinx_metadata_jvm_version=2.0.0
|
|
|
45
45
|
ns_default_mockito_core_version=3.0.0
|
|
46
46
|
ns_default_spotbugs_version=3.1.12
|
|
47
47
|
|
|
48
|
-
ns_engine=
|
|
48
|
+
ns_engine=QUICKJS
|
package/package.json
CHANGED