sparkling-method 2.0.0-rc.5 → 2.0.0-rc.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.
@@ -45,6 +45,10 @@ android {
45
45
  all {
46
46
  it.jvmArgs("-Xmx2048m", "-XX:MaxMetaspaceSize=512m")
47
47
  it.systemProperty("robolectric.logging.enabled", "true")
48
+ it.systemProperty(
49
+ "user.home",
50
+ buildDir.resolve("robolectric-home").absolutePath
51
+ )
48
52
  }
49
53
  }
50
54
  }
@@ -74,6 +78,12 @@ dependencies {
74
78
  api("com.google.code.gson:gson:2.8.9")
75
79
  }
76
80
 
81
+ tasks.withType<Test>().configureEach {
82
+ doFirst {
83
+ buildDir.resolve("robolectric-home").mkdirs()
84
+ }
85
+ }
86
+
77
87
  tasks.register<JacocoReport>("jacocoTestReport") {
78
88
  dependsOn(tasks.named("testDebugUnitTest"))
79
89
 
@@ -121,7 +131,7 @@ val publishingGroupId = (findProperty("SPARKLING_PUBLISHING_GROUP_ID") as? Strin
121
131
  ?: "com.tiktok.sparkling"
122
132
  val publishingVersion = (findProperty("SPARKLING_PUBLISHING_VERSION") as? String)
123
133
  ?: System.getenv("SPARKLING_PUBLISHING_VERSION")
124
- ?: "1.0.0"
134
+ ?: "2.0.0"
125
135
 
126
136
  val androidSourcesJar by tasks.register<Jar>("androidSourcesJar") {
127
137
  archiveClassifier.set("sources")
@@ -4,7 +4,7 @@ Pod::Spec.new do |s|
4
4
  source_root = 'packages/sparkling-method/ios'
5
5
  source_globs = ->(patterns) { patterns.flat_map { |pattern| [pattern, "#{source_root}/#{pattern}"] } }
6
6
  s.name = 'SparklingMethod'
7
- s.version = "2.0.0-rc.5"
7
+ s.version = "2.0.0-rc.6"
8
8
  s.summary = "iOS SDK for Sparkling Method"
9
9
  s.description = "Core iOS method runtime for Sparkling, with Lynx integration, dependency injection support, and debug helpers."
10
10
  s.license = "Apache 2.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sparkling-method",
3
- "version": "2.0.0-rc.5",
3
+ "version": "2.0.0-rc.6",
4
4
  "homepage": "",
5
5
  "repository": {
6
6
  "type": "git",