From d776c278af88e2f3ec9859ab2ccd9fac5c9b27f1 Mon Sep 17 00:00:00 2001 From: gapcomputer Date: Sat, 28 Jun 2025 17:24:36 +0000 Subject: [PATCH 1/2] Start draft PR From e6fe7bca29c355bbf01d9e208117e958bbdae470 Mon Sep 17 00:00:00 2001 From: gapcomputer Date: Sat, 28 Jun 2025 17:24:57 +0000 Subject: [PATCH 2/2] Add project-level build.gradle with Room and Kotlin versions --- build.gradle | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 build.gradle diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..7046c37 --- /dev/null +++ b/build.gradle @@ -0,0 +1,31 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. +buildscript { + ext { + // Version variables for consistent dependency management + room_version = "2.5.2" + kotlin_version = "1.8.20" + gradle_version = "8.1.0" + hilt_version = "2.44" + } + + repositories { + google() + mavenCentral() + } + + dependencies { + classpath "com.android.tools.build:gradle:$gradle_version" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version" + } +} + +plugins { + id 'com.android.application' version '8.1.0' apply false + id 'com.android.library' version '8.1.0' apply false + id 'org.jetbrains.kotlin.android' version '1.8.20' apply false +} + +task clean(type: Delete) { + delete rootProject.buildDir +} \ No newline at end of file