Last active
June 9, 2023 16:55
-
-
Save tdcolvin/b77b1dd6a38b732041e6ffca8df6fce6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'kotlin-kapt' | |
id 'com.google.dagger.hilt.android' | |
} | |
android { | |
... | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_17 | |
targetCompatibility JavaVersion.VERSION_17 | |
} | |
kotlinOptions { | |
jvmTarget = '17' | |
} | |
} | |
dependencies { | |
implementation "com.google.dagger:hilt-android:2.44.2" | |
kapt "com.google.dagger:hilt-compiler:2.44.2" | |
} | |
// Allow references to generated code | |
kapt { | |
correctErrorTypes true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment