Hello, I'm trying to upgrade to `1.1.0-RC` and hav...
# testballoon
r
Hello, I'm trying to upgrade to
1.1.0-RC
and have some dependency problem:
Copy code
A problem occurred configuring project ':modules:kilua-rpc-core'.
> Could not resolve all artifacts for configuration 'classpath'.
   > Could not find com.android.tools.build:gradle:8.13.2.
     Searched in the following locations:
       - <https://plugins.gradle.org/m2/com/android/tools/build/gradle/8.13.2/gradle-8.13.2.pom>
       - <https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/8.13.2/gradle-8.13.2.pom>
       - file:/home/rjaros/.m2/repository/com/android/tools/build/gradle/8.13.2/gradle-8.13.2.pom
     Required by:
         buildscript of project ':modules:kilua-rpc-core' > de.infix.testBalloon:de.infix.testBalloon.gradle.plugin:1.1.0-RC > de.infix.testBalloon:testBalloon-gradle-plugin:1.1.0-RC
I'm using latest Gradle 9.7.0
It's a KMP project but not using android target.
o
AFK at the moment, but I guess this is related to TestBalloon‘s Gradle plugin now having an Android dependency due to this issue. I’ll investigate how this could be solved in a better way. In the meantime, could you just try adding the Google repository?
r
Thanks. It fixed the problem.
o
Good to hear. Thank you for trying that release!
r
All tests work fine with Kotlin
2.4.20-RC
,
js
,
wasmJs
and
JVM
targets.
thank you color 1
n
ran into the same issue. Can you please be more explicit about "adding the Google repository"?
ended up moving my
repositories { mavenCentral }
from
build.gradle.kts
into
settings.gradle.kts
and extending it into
Copy code
pluginManagement {
    repositories {
        gradlePluginPortal() // Default repository for community plugins
        mavenCentral()       // For plugins hosted on Maven Central
        google()             // Required if using Android Gradle plugins
    }
}
o
That's exactly the interim solution: Add the
google()
repository for Gradle plugins. The issue will be fixed in TestBalloon's 1.1.0 final release.
thank you color 1