Skip to content

Commit

Permalink
build: Dependencies updates [2021-08-16] (#2138)
Browse files Browse the repository at this point in the history
  • Loading branch information
flank-release[bot] committed Aug 16, 2021
1 parent b3e157b commit 3e76b0c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 14 deletions.
10 changes: 5 additions & 5 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object Versions {
const val DD_PLIST = "1.23"

// https://github.com/jeremymailen/kotlinter-gradle
const val KTLINT_GRADLE = "3.4.5"
const val KTLINT_GRADLE = "3.5.0"

const val KTLINT = "0.40.0"

Expand All @@ -35,7 +35,7 @@ object Versions {
const val PICOCLI = "4.6.1"

// https://search.maven.org/search?q=a:google-api-services-toolresults%20g:com.google.apis
const val GOOGLE_API_TOOLRESULTS = "v1beta3-rev20210325-1.32.1"
const val GOOGLE_API_TOOLRESULTS = "v1beta3-rev20210809-1.32.1"

// https://mvnrepository.com/artifact/com.google.api-client/google-api-client
const val GOOGLE_API = "1.32.1"
Expand All @@ -46,10 +46,10 @@ object Versions {
const val GOOGLE_AUTH = "1.0.0"

// https://search.maven.org/search?q=a:google-cloud-nio%20g:com.google.cloud
const val GOOGLE_NIO = "0.123.4"
const val GOOGLE_NIO = "0.123.6"

// https://search.maven.org/search?q=a:google-cloud-storage%20g:com.google.cloud
const val GOOGLE_STORAGE = "1.118.1"
const val GOOGLE_STORAGE = "2.0.1"

// https://github.com/google/gson/releases
const val GSON = "2.8.7"
Expand Down Expand Up @@ -103,7 +103,7 @@ object Versions {

// ============== flank-scripts ==============
const val KOTLIN_SERIALIZATION = "1.2.2"
const val ARCHIVE_LIB = "1.1.0"
const val ARCHIVE_LIB = "1.2.0"
const val TUKAANI_XZ = "1.9"
const val FUEL = "2.3.1"
const val CLIKT = "2.8.0"
Expand Down
2 changes: 1 addition & 1 deletion flank-scripts/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ shadowJar.apply {
}
}
// <breaking change>.<feature added>.<fix/minor change>
version = "1.9.27"
version = "1.9.28"
group = "com.github.flank"

application {
Expand Down
2 changes: 1 addition & 1 deletion flank-scripts/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion test_runner/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-rc-3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ import java.util.concurrent.atomic.AtomicInteger
*/
internal operator fun Execution.invoke(): Flow<ParallelState> =
channel.consumeAsFlow()

// Abort the execution if any task was failed and returned the throwable value.
.onEach { (type, value) -> if (value is Throwable && isNotClosed()) abortBy(type, value) }

// Accumulate each received value in state.
.scan(initial, updateState())

// Handle state changes.
.onEach { state: ParallelState ->
when {
Expand All @@ -57,10 +54,8 @@ internal operator fun Execution.invoke(): Flow<ParallelState> =
}
}
}

// Cancel the coroutine scope for tasks.
.onCompletion { scope.cancel() }

// Drop first element which is always the initial state
.drop(1)

Expand Down

0 comments on commit 3e76b0c

Please sign in to comment.