Skip to content

Commit

Permalink
update hilt to 2.50, replace kapt with ksp, update cucumber-jvm to 7.…
Browse files Browse the repository at this point in the history
…15.0
  • Loading branch information
lsuski committed Dec 22, 2023
1 parent 37407bd commit ebe0677
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import java.time.Duration

buildscript {
ext.kotlin_version = '1.9.21'
ext.hilt_version = '2.48.1'
ext.ksp_version = "$kotlin_version-1.0.16"
ext.hilt_version = '2.50'
repositories {
google()
mavenCentral()
Expand All @@ -15,6 +16,7 @@ buildscript {
classpath "io.github.gradle-nexus:publish-plugin:1.3.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:$ksp_version"
}
}

Expand Down Expand Up @@ -49,7 +51,7 @@ allprojects {
}
}
version = "7.15.0-SNAPSHOT"
ext.cucumber_javaVersion = '7.14.0'
ext.cucumber_javaVersion = '7.15.0'
group = 'io.cucumber'
}

Expand Down
6 changes: 3 additions & 3 deletions cucumber-android-hilt/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.google.devtools.ksp'
apply plugin: 'dagger.hilt.android.plugin'

addAndroidConfig()
Expand All @@ -12,10 +12,10 @@ dependencies {
api "com.google.dagger:hilt-android:$hilt_version"
api "com.google.dagger:hilt-android-testing:$hilt_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
kapt "com.google.dagger:hilt-android-compiler:$hilt_version"
ksp "com.google.dagger:hilt-android-compiler:$hilt_version"

testImplementation "org.robolectric:robolectric:$robolectricVersion"
kaptTest "com.google.dagger:hilt-android-compiler:$hilt_version"
kspTest "com.google.dagger:hilt-android-compiler:$hilt_version"

}

6 changes: 3 additions & 3 deletions cukeulator/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'
apply plugin: 'jacoco'
apply plugin: "kotlin-android"
apply plugin: 'kotlin-kapt'
apply plugin: 'com.google.devtools.ksp'
apply plugin: 'dagger.hilt.android.plugin'

ext {
Expand Down Expand Up @@ -78,14 +78,14 @@ dependencies {
implementation "androidx.compose.runtime:runtime:$composeVersion"
implementation "androidx.compose.material:material:$composeMaterialVersion"
implementation "com.google.dagger:hilt-android:$hilt_version"
kapt "com.google.dagger:hilt-compiler:$hilt_version"
ksp "com.google.dagger:hilt-compiler:$hilt_version"

androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation 'androidx.test:core:1.5.0'
androidTestImplementation 'androidx.test:rules:1.5.0'
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$composeVersion"
androidTestImplementation "com.google.dagger:hilt-android-testing:$hilt_version"
kaptAndroidTest "com.google.dagger:hilt-android-compiler:$hilt_version"
kspAndroidTest "com.google.dagger:hilt-android-compiler:$hilt_version"

androidTestUtil 'androidx.test:orchestrator:1.4.2'

Expand Down

0 comments on commit ebe0677

Please sign in to comment.