- 新增数据库相关代码,包括数据库帮助类和操作函数 - 重构添加物品页面,增加表单验证和数据提交逻辑 - 新增物品列表页面,实现数据加载和展示功能 - 更新项目配置,添加必要的依赖库
28 lines
906 B
Groovy
28 lines
906 B
Groovy
pluginManagement {
|
|
def flutterSdkPath = {
|
|
def properties = new Properties()
|
|
file("local.properties").withInputStream { properties.load(it) }
|
|
def flutterSdkPath = properties.getProperty("flutter.sdk")
|
|
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
|
|
return flutterSdkPath
|
|
}()
|
|
|
|
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
// maven { url 'https://maven.aliyun.com/repository/google' }
|
|
// maven { url 'https://maven.aliyun.com/repository/jcenter' }
|
|
// maven { url 'https://maven.aliyun.com/repository/public' }
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
|
id "com.android.application" version "8.2.2" apply false
|
|
id "org.jetbrains.kotlin.android" version "1.8.22" apply false
|
|
}
|
|
|
|
include ":app"
|