Update dependency gradle to v9 (#1632)

* Update dependency gradle to v9

* Bound

* Maintained shadow plugin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
This commit is contained in:
renovate[bot]
2025-08-08 19:24:05 +00:00
committed by GitHub
parent c6492be3ac
commit a7102372ad
7 changed files with 6 additions and 8 deletions

View File

@@ -53,7 +53,7 @@ okHttp-mockWebServer = { module = "com.squareup.okhttp3:mockwebserver", version.
okio-core = { module = "com.squareup.okio:okio", version.ref = "okio" }
okio-fakeFileSystem = { module = "com.squareup.okio:okio-fakefilesystem", version.ref = "okio" }
clikt = { module = "com.github.ajalt.clikt:clikt", version = "5.0.3" }
shadowJar-gradle-plugin = { module = "gradle.plugin.com.github.johnrengelman:shadow", version = "8.0.0" }
shadowJar-gradle-plugin = { module = "com.gradleup.shadow:shadow-gradle-plugin", version = "9.0.0" }
sqldelight-gradle-plugin = { module = "app.cash.sqldelight:gradle-plugin", version.ref = "sqldelight" }
sqldelight-driver-android = { module = "app.cash.sqldelight:android-driver", version.ref = "sqldelight" }
sqldelight-driver-native = { module = "app.cash.sqldelight:native-driver", version.ref = "sqldelight" }

View File

Binary file not shown.

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

2
gradlew vendored
View File

@@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright © 2015-2021 the original authors.
# Copyright © 2015 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@@ -4,7 +4,7 @@ import org.jetbrains.kotlin.gradle.plugin.PLUGIN_CLASSPATH_CONFIGURATION_NAME
plugins {
kotlin("jvm")
kotlin("plugin.serialization")
id("com.github.johnrengelman.shadow")
id("com.gradleup.shadow")
}
dependencies {

View File

@@ -9,9 +9,7 @@ plugins {
}
kotlin {
jvm {
withJava()
}
jvm()
js {
browser()

View File

@@ -21,7 +21,7 @@ import org.gradle.api.Project
import org.gradle.api.internal.provider.DefaultProvider
import org.gradle.api.provider.Provider
internal fun <T> Iterable<Provider<T>>.flatten(): Provider<List<T>> {
internal fun <T : Any> Iterable<Provider<T>>.flatten(): Provider<List<T>> {
val empty: Provider<List<T>> = DefaultProvider { emptyList() }
return fold(empty) { listProvider, elementProvider ->
listProvider.zip(elementProvider, Collection<T>::plus)