@nativescript/android 8.8.0-alpha.9 → 8.8.0
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 +16 -5
- 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/app/src/main/assets/internal/ts_helpers.js +3 -1
- package/framework/app/src/main/java/com/tns/RuntimeHelper.java +1 -1
- package/framework/build-tools/android-metadata-generator.jar +0 -0
- package/framework/build-tools/dts-generator.jar +0 -0
- package/framework/build-tools/jsparser/js_parser.js +1 -1
- package/framework/build-tools/static-binding-generator.jar +0 -0
- package/package.json +1 -1
|
@@ -79,7 +79,7 @@ def allJarLibraries = new LinkedList<String>()
|
|
|
79
79
|
|
|
80
80
|
def computeCompileSdkVersion = { -> project.hasProperty("compileSdk") ? compileSdk : NS_DEFAULT_COMPILE_SDK_VERSION as int }
|
|
81
81
|
def computeTargetSdkVersion = { -> project.hasProperty("targetSdk") ? targetSdk : NS_DEFAULT_COMPILE_SDK_VERSION as int }
|
|
82
|
-
def computeMinSdkVersion = { -> project.hasProperty("minSdk") ?
|
|
82
|
+
def computeMinSdkVersion = { -> project.hasProperty("minSdk") ? minSdk : NS_DEFAULT_MIN_SDK_VERSION as int }
|
|
83
83
|
def computeBuildToolsVersion = { ->
|
|
84
84
|
project.hasProperty("buildToolsVersion") ? buildToolsVersion : NS_DEFAULT_BUILD_TOOLS_VERSION as String
|
|
85
85
|
}
|
|
@@ -688,9 +688,13 @@ task 'collectAllJars' {
|
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
690
|
|
|
691
|
-
task copyMetadataFilters
|
|
692
|
-
|
|
693
|
-
|
|
691
|
+
task copyMetadataFilters {
|
|
692
|
+
outputs.files("$BUILD_TOOLS_PATH/whitelist.mdg", "$BUILD_TOOLS_PATH/blacklist.mdg")
|
|
693
|
+
// use an explicit copy task here because the copy task itselfs marks the whole built-tools as an output!
|
|
694
|
+
copy {
|
|
695
|
+
from file("$rootDir/whitelist.mdg"), file("$rootDir/blacklist.mdg")
|
|
696
|
+
into "$BUILD_TOOLS_PATH"
|
|
697
|
+
}
|
|
694
698
|
}
|
|
695
699
|
|
|
696
700
|
task 'copyMetadata' {
|
|
@@ -878,7 +882,12 @@ task buildMetadata(type: BuildToolTask) {
|
|
|
878
882
|
dependsOn optimizeResourcesTask
|
|
879
883
|
}
|
|
880
884
|
|
|
885
|
+
def bundleResourcesTaskName = "bundle${buildTypeName}Resources"
|
|
886
|
+
def bundleResourcesTask = tasks.findByName(bundleResourcesTaskName)
|
|
881
887
|
|
|
888
|
+
if (bundleResourcesTask) {
|
|
889
|
+
dependsOn bundleResourcesTask
|
|
890
|
+
}
|
|
882
891
|
|
|
883
892
|
}
|
|
884
893
|
|
|
@@ -897,7 +906,9 @@ task buildMetadata(type: BuildToolTask) {
|
|
|
897
906
|
inputs.files("$MDG_JAVA_DEPENDENCIES")
|
|
898
907
|
|
|
899
908
|
// make MDG aware of whitelist.mdg and blacklist.mdg files
|
|
900
|
-
inputs.files(project.fileTree(dir: "$rootDir", include: "**/*.mdg"))
|
|
909
|
+
// inputs.files(project.fileTree(dir: "$rootDir", include: "**/*.mdg"))
|
|
910
|
+
// use explicit inputs as the above makes the whole build-tools directory an input!
|
|
911
|
+
inputs.files("$BUILD_TOOLS_PATH/whitelist.mdg", "$BUILD_TOOLS_PATH/blacklist.mdg")
|
|
901
912
|
|
|
902
913
|
def classesDir = layout.buildDirectory.dir("intermediates/javac").get().asFile
|
|
903
914
|
if (classesDir.exists()) {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -170,6 +170,8 @@
|
|
|
170
170
|
Object.defineProperty(global, "__extends", { value: __extends });
|
|
171
171
|
Object.defineProperty(global, "__decorate", { value: __decorate });
|
|
172
172
|
|
|
173
|
-
global.
|
|
173
|
+
if (!global.__ns__worker) {
|
|
174
|
+
global.JavaProxy = JavaProxy;
|
|
175
|
+
}
|
|
174
176
|
global.Interfaces = Interfaces;
|
|
175
177
|
})()
|
|
@@ -190,7 +190,7 @@ public final class RuntimeHelper {
|
|
|
190
190
|
waitForLiveSync(context);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
runtime.runScript(new File(appDir, "internal/ts_helpers.js"));
|
|
193
|
+
// runtime.runScript(new File(appDir, "internal/ts_helpers.js"));
|
|
194
194
|
|
|
195
195
|
File javaClassesModule = new File(appDir, "app/tns-java-classes.js");
|
|
196
196
|
if (javaClassesModule.exists()) {
|
|
Binary file
|
|
Binary file
|