mirror of
https://github.com/Cateners/tiny_computer.git
synced 2026-05-20 16:35:47 +08:00
1.更新Android端material库为1.11.0 2.在Android端启用动态颜色 3.更改主题样式为Material3 4.为两个原生页面启用边倒边沉浸 5.修改Android端项目名称为TinyComputer(顺手改了, 默认为android)
28 lines
825 B
Groovy
28 lines
825 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
|
|
}
|
|
settings.ext.flutterSdkPath = flutterSdkPath()
|
|
|
|
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
|
id "com.android.application" version "7.4.2" apply false
|
|
id "org.jetbrains.kotlin.android" version "1.9.22" apply false
|
|
}
|
|
|
|
rootProject.name = "TinyComputer"
|
|
include ":app"
|