diff --git a/build.gradle.kts b/build.gradle.kts index 3756278..1a71b18 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,10 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { alias(libs.plugins.android.application) apply false -} \ No newline at end of file +} + +buildscript { + dependencies { + classpath(libs.kgp) + } +} diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 6771f2e..41bc244 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -38,6 +38,8 @@ reoderable = { module = "sh.calvin.reorderable:reorderable", version.ref = "reod serialization = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "serialization" } +kgp = { group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin", version.ref = "kotlin" } + [plugins] android-application = { id = "com.android.application", version.ref = "agp" } compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }