We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d9daf2 commit 343fb68Copy full SHA for 343fb68
1 file changed
plugin-build/src/test/kotlin/io/sentry/android/gradle/integration/BaseSentryPluginTest.kt
@@ -74,7 +74,7 @@ abstract class BaseSentryPluginTest(
74
// withPluginClasspath on the Gradle Runner.
75
$additionalBuildClasspath
76
classpath files($pluginClasspath)
77
- if ("$androidGradlePluginVersion".substringBefore(".").toInt() < 8) {
+ if ("$androidGradlePluginVersion".split('\\.')[0].toInteger() < 8) {
78
// AGP 7.x has troubles with compileSdk 34 due to some R8 shenanigans, so we have to use a newer
79
// version of R* here
80
classpath 'com.android.tools:r8:8.11.18'
0 commit comments