[repo] Update to Gradle 8.2.1 version

This Gradle release also fixes 2 security vulnerabilities:
https://docs.gradle.org/8.2.1/release-notes.html
This commit is contained in:
Yahor Berdnikau
2023-07-03 09:51:25 +02:00
committed by Space Team
parent f2816a5531
commit ed8fc64257
8 changed files with 25 additions and 7 deletions
@@ -25,6 +25,7 @@ fun buildIdeaKotlinDependencyMatchers(notation: Any?): List<IdeaKotlinDependency
}
fun ideSourceDependency(type: IdeaKotlinSourceDependency.Type, project: Project, sourceSetName: String): IdeaKotlinDependencyMatcher {
@Suppress("DEPRECATION") // Should be fixed via https://youtrack.jetbrains.com/issue/KT-58157
return IdeaKotlinSourceDependencyMatcher(type, project.currentBuildId().name, project.path, sourceSetName)
}
@@ -12,7 +12,7 @@ import org.gradle.tooling.internal.adapter.ProtocolToModelAdapter
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
inline fun <reified T> createProxyInstance(obj: Any): T {
inline fun <reified T> createProxyInstance(obj: Any): T? {
return ProtocolToModelAdapter().adapt(T::class.java, obj)
}