From b0360b83d422f9dae811e49ecc448a189efc824a Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 26 May 2022 22:11:08 -0400 Subject: [PATCH] Move SQLDelight Gradle plugin to version catalog --- build.gradle.kts | 2 +- gradle/libs.versions.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index ee9c89fcf..dc860796d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ buildscript { classpath(libs.google.services.gradle) classpath(libs.aboutLibraries.gradle) classpath(kotlinx.serialization.gradle) - classpath("com.squareup.sqldelight:gradle-plugin:1.5.3") + classpath(libs.sqldelight.gradle) } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d0dc619e4..e830cadb4 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -95,6 +95,7 @@ leakcanary-plumber = { module = "com.squareup.leakcanary:plumber-android", versi sqldelight-android-driver = { module = "com.squareup.sqldelight:android-driver", version.ref ="sqldelight" } sqldelight-coroutines = { module = "com.squareup.sqldelight:coroutines-extensions-jvm", version.ref ="sqldelight" } sqldelight-android-paging = { module = "com.squareup.sqldelight:android-paging3-extensions", version.ref ="sqldelight" } +sqldelight-gradle = { module="com.squareup.sqldelight:gradle-plugin", version.ref ="sqldelight" } junit = "org.junit.jupiter:junit-jupiter:5.8.2"