You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!file.exists()) throwIllegalStateException("Distribution file: $distributionFilePath does not exist")
132
144
if (file.length() ==0L) throwIllegalStateException("Distribution file: $distributionFilePath is empty")
@@ -160,14 +172,15 @@ spotless {
160
172
googleJavaFormat()
161
173
targetExclude("**/generated/**", "**/vendor/**")
162
174
}
163
-
164
175
kotlin {
165
176
target("**/*.kt")
166
177
ktlint()
178
+
targetExclude("**/sentry-native/**")
167
179
}
168
180
kotlinGradle {
169
181
target("**/*.kts")
170
182
ktlint()
183
+
targetExclude("**/sentry-native/**")
171
184
}
172
185
}
173
186
@@ -197,3 +210,11 @@ gradle.projectsEvaluated {
197
210
}
198
211
}
199
212
}
213
+
214
+
// Workaround for https://youtrack.jetbrains.com/issue/IDEA-316081/Gradle-8-toolchain-error-Toolchain-from-executable-property-does-not-match-toolchain-from-javaLauncher-property-when-different
215
+
gradle.taskGraph.whenReady {
216
+
val task =this.allTasks.find { it.name.endsWith(".main()") } as?JavaExec
0 commit comments