Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to Ksp. #412

Merged
merged 2 commits into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ plugins {
alias(libs.plugins.kotlinGradle) apply false
alias(libs.plugins.benManes)
alias(libs.plugins.versionCatalogUpdate) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.kapt) apply false
}

Expand Down
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ io-coil-kt = "2.1.0"
junit = "4.13.2"
kotlin = "1.6.21"
kotlinxCoroutine = "1.6.3"
ksp = "1.6.21-1.0.5"
ktlint = "0.42.1"
metalava = "0.2.1"
moshi = "1.13.0"
Expand Down Expand Up @@ -133,3 +134,4 @@ kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
kotlinGradle = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
versionCatalogUpdate = { id = "nl.littlerobots.version-catalog-update", version.ref = "versionCatalogUpdate" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
15 changes: 8 additions & 7 deletions media-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
* limitations under the License.
*/

apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'
apply plugin: "org.jetbrains.kotlin.kapt"

apply plugin: 'dagger.hilt.android.plugin'
plugins {
id 'com.android.application'
id 'kotlin-android'
id "org.jetbrains.kotlin.kapt"
id 'dagger.hilt.android.plugin'
id 'com.google.devtools.ksp'
}

Properties localProperties = new Properties()
def localFile = project.rootProject.file('local.properties')
Expand Down Expand Up @@ -140,7 +141,7 @@ dependencies {

implementation libs.moshi.adapters
implementation libs.moshi.kotlin
kapt libs.moshi.kotlin.codegen
ksp libs.moshi.kotlin.codegen

implementation libs.androidx.palette.ktx

Expand Down
3 changes: 2 additions & 1 deletion network-awareness/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ plugins {
id 'kotlin-android'
id 'org.jetbrains.dokka'
id "org.jetbrains.kotlin.kapt"
id 'com.google.devtools.ksp'
}

android {
Expand Down Expand Up @@ -91,7 +92,7 @@ dependencies {

implementation libs.room.common
implementation libs.room.ktx
kapt libs.room.compiler
ksp libs.room.compiler

debugImplementation libs.compose.ui.test.manifest
debugImplementation libs.compose.ui.toolingpreview
Expand Down