Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise compile sdk level to 34 #2633

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Sdk.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

object Sdk {
const val COMPILE_SDK = 33
const val COMPILE_SDK = 34
const val TARGET_SDK = 31

// Engine and SDC must support API 24.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ import java.time.Instant
import java.time.OffsetDateTime
import java.util.Date
import java.util.LinkedList
import kotlin.streams.toList
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
Expand Down Expand Up @@ -129,11 +128,9 @@ internal open class TestDownloadManagerImpl(
urls.poll()?.let { DownloadRequest.of(it) }

override suspend fun getSummaryRequestUrls() =
queries
.stream()
.map { ResourceType.fromCode(it.substringBefore("?")) to it.plus("?_summary=count") }
.toList()
.toMap()
queries.associate {
ResourceType.fromCode(it.substringBefore("?")) to it.plus("?_summary=count")
}

override suspend fun processResponse(response: Resource): Collection<Resource> {
val patient = Patient().setMeta(Meta().setLastUpdated(Date()))
Expand Down
Loading