plugins { `kotlin-dsl` } repositories { google() mavenCentral() } dependencies { implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.22") implementation("com.android.tools.build:gradle:8.1.3") } val compileKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks compileKotlin.kotlinOptions { jvmTarget = "17" } configurations.all { resolutionStrategy.force("androidx.fragment:fragment:1.5.4") resolutionStrategy.force("androidx.fragment:fragment-ktx:1.5.4") resolutionStrategy.force("androidx.transition:transition:1.4.1") resolutionStrategy.force("org.jetbrains.kotlin:kotlin-stdlib:1.8.22") resolutionStrategy.force("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.22") resolutionStrategy.force("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22") resolutionStrategy.force("org.jetbrains.kotlin:kotlin-reflect:1.8.22") resolutionStrategy.force("org.jetbrains:annotations:23.0.0") resolutionStrategy.force("org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.1") resolutionStrategy.force("com.google.code.gson:gson:2.10.1") resolutionStrategy.force("com.google.dagger:dagger:2.45") resolutionStrategy.force("com.squareup:javapoet:1.13.0") resolutionStrategy.force("com.squareup:javawriter:2.5.0") }