20 lines
802 B
Kotlin
20 lines
802 B
Kotlin
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
plugins {
|
|
alias(libs.plugins.android.application) apply false
|
|
alias(libs.plugins.kotlin.android) apply false
|
|
id("com.google.devtools.ksp") version "2.0.21-1.0.27" apply false
|
|
id("com.google.dagger.hilt.android") version "2.56.2" apply false
|
|
alias(libs.plugins.android.library) apply false
|
|
}
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven("https://objectbox.net/beta-repo/") // ✅ 仍需声明
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:8.10.1")
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.0")
|
|
classpath("io.objectbox:objectbox-gradle-plugin:5.0.1") // ✅ ObjectBox 插件
|
|
}
|
|
} |