@nativescript/android 8.4.0-alpha.4 → 8.4.0-alpha.6
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 +31 -11
- 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/build-tools/android-metadata-generator.jar +0 -0
- package/framework/build-tools/dts-generator.jar +0 -0
- package/framework/build-tools/static-binding-generator.jar +0 -0
- package/package.json +1 -1
|
@@ -302,7 +302,7 @@ repositories {
|
|
|
302
302
|
dirs pluginDependencies
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
|
|
305
|
+
|
|
306
306
|
mavenCentral()
|
|
307
307
|
}
|
|
308
308
|
|
|
@@ -583,7 +583,7 @@ allprojects {
|
|
|
583
583
|
def artifactType = Attribute.of('artifactType', String)
|
|
584
584
|
android.applicationVariants.all { variant ->
|
|
585
585
|
if (variant.buildType.name == buildType) {
|
|
586
|
-
variant.getCompileClasspath().each { fileDependency ->
|
|
586
|
+
variant.getCompileClasspath().each { fileDependency ->
|
|
587
587
|
processJar(fileDependency, jars)
|
|
588
588
|
}
|
|
589
589
|
}
|
|
@@ -772,13 +772,36 @@ task buildMetadata(type: BuildToolTask) {
|
|
|
772
772
|
doFirst {
|
|
773
773
|
// get compiled classes to pass to metadata generator
|
|
774
774
|
// these need to be called after the classes have compiled
|
|
775
|
-
assert file(classesDir).exists()
|
|
776
|
-
|
|
777
775
|
new File(getMergedAssetsOutputPath() + "/metadata").deleteDir()
|
|
778
776
|
|
|
779
|
-
def classesSubDirs =
|
|
777
|
+
def classesSubDirs = []
|
|
778
|
+
def kotlinClassesSubDirs = []
|
|
780
779
|
def selectedBuildType = project.ext.selectedBuildType
|
|
781
780
|
|
|
781
|
+
rootProject.subprojects {
|
|
782
|
+
|
|
783
|
+
def projectClassesDir = new File("$it.buildDir/intermediates/javac")
|
|
784
|
+
def projectKotlinClassesDir = new File("$it.buildDir/tmp/kotlin-classes")
|
|
785
|
+
|
|
786
|
+
if (projectClassesDir.exists()) {
|
|
787
|
+
def projectClassesSubDirs = projectClassesDir.listFiles()
|
|
788
|
+
for (File subDir : projectClassesSubDirs) {
|
|
789
|
+
if (!classesSubDirs.contains(subDir)) {
|
|
790
|
+
classesSubDirs.add(subDir)
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
if (projectKotlinClassesDir.exists()) {
|
|
796
|
+
def projectKotlinClassesSubDirs = projectKotlinClassesDir.listFiles();
|
|
797
|
+
for (File subDir : projectKotlinClassesSubDirs) {
|
|
798
|
+
if (!kotlinClassesSubDirs.contains(subDir)) {
|
|
799
|
+
kotlinClassesSubDirs.add(subDir)
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
|
|
782
805
|
def generatedClasses = new LinkedList<String>()
|
|
783
806
|
for (File subDir : classesSubDirs) {
|
|
784
807
|
if (subDir.getName() == selectedBuildType) {
|
|
@@ -786,12 +809,9 @@ task buildMetadata(type: BuildToolTask) {
|
|
|
786
809
|
}
|
|
787
810
|
}
|
|
788
811
|
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
if (subDir.getName() == selectedBuildType) {
|
|
793
|
-
generatedClasses.add(subDir.getAbsolutePath())
|
|
794
|
-
}
|
|
812
|
+
for (File subDir : kotlinClassesSubDirs) {
|
|
813
|
+
if (subDir.getName() == selectedBuildType) {
|
|
814
|
+
generatedClasses.add(subDir.getAbsolutePath())
|
|
795
815
|
}
|
|
796
816
|
}
|
|
797
817
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED