diff --git a/build.gradle.kts b/build.gradle.kts index 7cfbd9e..b48547f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -37,6 +37,7 @@ buildscript { dependencies { classpath(deps.plugins.androidGradle) classpath(deps.plugins.kotlinGradle) + classpath(deps.plugins.kspGradle) classpath(deps.plugins.daggerHiltGradle) classpath(deps.plugins.gradleVersions) classpath(deps.plugins.dokka) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 51fb031..78fa246 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -24,8 +24,8 @@ repositories { } dependencies { - implementation("com.android.tools.build:gradle:7.2.1") - implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0") + implementation("com.android.tools.build:gradle:7.4.0") + implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0") // See https://github.com/google/dagger/issues/3068#issuecomment-999118496 // for why it should be here. implementation("com.squareup:javapoet:1.13.0") diff --git a/buildSrc/src/main/java/Dependencies.kt b/buildSrc/src/main/java/Dependencies.kt index 970ee57..52fb90c 100644 --- a/buildSrc/src/main/java/Dependencies.kt +++ b/buildSrc/src/main/java/Dependencies.kt @@ -64,8 +64,8 @@ object publishingConfig { object versions { - const val kotlin = "1.8.0" // also in buildSrc build.gradle.kts file - const val gradlePlugin = "7.2.1" // also in buildSrc build.gradle.kts file + const val kotlin = "1.9.0" // also in buildSrc build.gradle.kts file + const val gradlePlugin = "7.4.0" // also in buildSrc build.gradle.kts file const val detektPlugin = "1.20.0" const val ktlintPlugin = "10.3.0" const val gradleVersionsPlugin = "0.42.0" @@ -75,14 +75,14 @@ object versions { const val navigation = "2.5.1" const val fragmentKtx = "1.5.1" const val constraintLayout = "2.1.4" - const val dagger = "2.43.2" + const val dagger = "2.48" const val materialComponents = "1.6.1" const val apacheCommons = "3.12.0" const val javaPoet = "1.13.0" // also in buildSrc build.gradle.kts file const val kotlinPoet = "1.12.0" const val incap = "0.3" const val autoService = "1.0" - const val ksp = "1.8.0-1.0.9" + const val ksp = "1.9.0-1.0.13" const val jUnit = "4.13.2" const val jUnitExt = "1.1.2" const val truth = "1.1.3" @@ -96,6 +96,7 @@ object deps { const val androidGradle = "com.android.tools.build:gradle:${versions.gradlePlugin}" const val kotlinGradle = "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}" + const val kspGradle = "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:${versions.ksp}" const val daggerHiltGradle = "com.google.dagger:hilt-android-gradle-plugin:${versions.dagger}" const val gradleVersions = "com.github.ben-manes:gradle-versions-plugin:${versions.gradleVersionsPlugin}" const val dokka = "org.jetbrains.dokka:dokka-gradle-plugin:${versions.dokkaPlugin}" diff --git a/buildSrc/src/main/java/Plugins.kt b/buildSrc/src/main/java/Plugins.kt index 732b0d6..c2409fc 100644 --- a/buildSrc/src/main/java/Plugins.kt +++ b/buildSrc/src/main/java/Plugins.kt @@ -75,7 +75,7 @@ fun PluginDependenciesSpec.kotlinKapt(): PluginDependencySpec { } fun PluginDependenciesSpec.ksp(): PluginDependencySpec { - return (id(PLUGIN_KSP) version versions.ksp) + return id(PLUGIN_KSP) } fun PluginDependenciesSpec.daggerHiltAndroid(): PluginDependencySpec { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 2a92720..fa8fbda 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip diff --git a/hilt-binder-compiler/libs/hilt-android-classes-2.48.jar b/hilt-binder-compiler/libs/hilt-android-classes-2.48.jar new file mode 100644 index 0000000..cf1fdd5 Binary files /dev/null and b/hilt-binder-compiler/libs/hilt-android-classes-2.48.jar differ diff --git a/hilt-binder-compiler/libs/hilt-core-classes-2.48.jar b/hilt-binder-compiler/libs/hilt-core-classes-2.48.jar new file mode 100644 index 0000000..6627c84 Binary files /dev/null and b/hilt-binder-compiler/libs/hilt-core-classes-2.48.jar differ